#951E82#951E82

#951E82 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.185 H 335.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#951E82
RGBrgb(149, 30, 130)
HSLhsl(310, 66%, 35%)
HSVhsv(310, 80%, 58%)
CMYKcmyk(0%, 79.9%, 12.8%, 41.6%)
CIE-LABlab(35.85, 57.59, -27.87)
CIE-LCHlch(35.85, 63.98, 334.18°)
OKLaboklab(47.16% 0.1688 -0.0761)
OKLCHoklch(47.16% 0.185 335.7)
XYZxyz(16.8882, 8.9314, 21.9493)
Luminance0.0893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E82 #1E9531
analogous
#6D1E95 #951E82 #951E46
triadic
#951E82 #82951E #1E8295
tetradic
#951E82 #956D1E #1E9531 #1E4695
square
#951E82 #956D1E #1E9531 #1E4695
split-complementary
#951E82 #46951E #1E956D
monochromatic
#2F0929 #621456 #951E82 #C828AE #DC51C6

Accessibility & contrast

On white

7.54
#951E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#951E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951E82
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951E82#FFFFFF#000000##FFFFFF
##951E821.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4985
Deuteranopia (green-blind)
#4B5B7F
Tritanopia (blue-blind)
#9D284F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951e82;
/* rgb */ color: rgb(149, 30, 130);
/* oklch */ color: oklch(47.2% 0.185 335.7);
Tailwind
colors: {
  custom: {
    50: '#b869a6',
    500: '#951e82',
    950: '#000000',
  },
}
SCSS
$custom: #951e82;
$custom-light: #b869a6;
$custom-dark: #000000;
JSON
{
  "hex": "#951e82",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 309.58,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47164,
    "c": 0.18521,
    "h": 335.7
  },
  "luminance": 0.0893
}

Semantic roles & 50–950 ramp

primary
#951E82
secondary
#50BF62
accent
#E95A3E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951E82

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

Preview Lab → · Contrast checker → · Palette generator →

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