#951D82#951D82

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

Color values

HEX#951D82
RGBrgb(149, 29, 130)
HSLhsl(310, 67%, 35%)
HSVhsv(310, 81%, 58%)
CMYKcmyk(0%, 80.5%, 12.8%, 41.6%)
CIE-LABlab(35.76, 57.87, -28.02)
CIE-LCHlch(35.76, 64.30, 334.16°)
OKLaboklab(47.09% 0.1697 -0.0766)
OKLCHoklch(47.09% 0.186 335.7)
XYZxyz(16.8633, 8.8816, 21.9410)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951D82 #1D9530
analogous
#6C1D95 #951D82 #951D46
triadic
#951D82 #82951D #1D8295
tetradic
#951D82 #956C1D #1D9530 #1D4695
square
#951D82 #956C1D #1D9530 #1D4695
split-complementary
#951D82 #46951D #1D956C
monochromatic
#2F0929 #621355 #951D82 #C827AF #DD50C6

Accessibility & contrast

On white

7.56
#951D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#951D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951D82
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951D82#FFFFFF#000000##FFFFFF
##951D821.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #951d82;
/* rgb */ color: rgb(149, 29, 130);
/* oklch */ color: oklch(47.1% 0.186 335.7);
Tailwind
colors: {
  custom: {
    50: '#b869a6',
    500: '#951d82',
    950: '#000000',
  },
}
SCSS
$custom: #951d82;
$custom-light: #b869a6;
$custom-dark: #000000;
JSON
{
  "hex": "#951d82",
  "rgb": {
    "r": 149,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 309.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47094,
    "c": 0.18615,
    "h": 335.7
  },
  "luminance": 0.0888
}

Semantic roles & 50–950 ramp

primary
#951D82
secondary
#4EC060
accent
#EA593D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951D82

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

Preview Lab → · Contrast checker → · Palette generator →

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