#951C82#951C82

#951C82 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.187 H 335.7°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#951C82
RGBrgb(149, 28, 130)
HSLhsl(309, 68%, 35%)
HSVhsv(309, 81%, 58%)
CMYKcmyk(0%, 81.2%, 12.8%, 41.6%)
CIE-LABlab(35.66, 58.14, -28.17)
CIE-LCHlch(35.66, 64.61, 334.15°)
OKLaboklab(47.03% 0.1705 -0.077)
OKLCHoklch(47.03% 0.187 335.7)
XYZxyz(16.8392, 8.8334, 21.9329)
Luminance0.0883 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C82 #1C952F
analogous
#6B1C95 #951C82 #951C46
triadic
#951C82 #82951C #1C8295
tetradic
#951C82 #956B1C #1C952F #1C4695
square
#951C82 #956B1C #1C952F #1C4695
split-complementary
#951C82 #46951C #1C956B
monochromatic
#2E0928 #611255 #951C82 #C926AF #DE4EC7

Accessibility & contrast

On white

7.59
#951C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#951C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951C82
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C82#FFFFFF#000000##FFFFFF
##951C821.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4885
Deuteranopia (green-blind)
#4B5A7F
Tritanopia (blue-blind)
#9D274F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951c82;
/* rgb */ color: rgb(149, 28, 130);
/* oklch */ color: oklch(47.0% 0.187 335.7);
Tailwind
colors: {
  custom: {
    50: '#b868a6',
    500: '#951c82',
    950: '#000000',
  },
}
SCSS
$custom: #951c82;
$custom-light: #b868a6;
$custom-dark: #000000;
JSON
{
  "hex": "#951c82",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 309.421,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47027,
    "c": 0.18705,
    "h": 335.7
  },
  "luminance": 0.08832
}

Semantic roles & 50–950 ramp

primary
#951C82
secondary
#4DC05F
accent
#EB583D
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951C82

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#951C82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva