#951B84#951B84

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

Color values

HEX#951B84
RGBrgb(149, 27, 132)
HSLhsl(308, 69%, 35%)
HSVhsv(308, 82%, 58%)
CMYKcmyk(0%, 81.9%, 11.4%, 41.6%)
CIE-LABlab(35.68, 58.70, -29.39)
CIE-LCHlch(35.68, 65.65, 333.41°)
OKLaboklab(47.07% 0.1714 -0.0805)
OKLCHoklch(47.07% 0.189 334.8)
XYZxyz(16.9514, 8.8409, 22.6390)
Luminance0.0884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B84 #1B952C
analogous
#691B95 #951B84 #951B47
triadic
#951B84 #84951B #1B8495
tetradic
#951B84 #95691B #1B952C #1B4795
square
#951B84 #95691B #1B952C #1B4795
split-complementary
#951B84 #47951B #1B9569
monochromatic
#2D0828 #611256 #951B84 #C924B2 #DF4CCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##951B84#FFFFFF#000000##FFFFFF
##951B841.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)
#1A4987
Deuteranopia (green-blind)
#495A81
Tritanopia (blue-blind)
#9D274F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951b84;
/* rgb */ color: rgb(149, 27, 132);
/* oklch */ color: oklch(47.1% 0.189 334.8);
Tailwind
colors: {
  custom: {
    50: '#b868a8',
    500: '#951b84',
    950: '#000000',
  },
}
SCSS
$custom: #951b84;
$custom-light: #b868a8;
$custom-dark: #000000;
JSON
{
  "hex": "#951b84",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 308.361,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47072,
    "c": 0.18932,
    "h": 334.8
  },
  "luminance": 0.08839
}

Semantic roles & 50–950 ramp

primary
#951B84
secondary
#4BC15C
accent
#EC543C
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951B84

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

Preview Lab → · Contrast checker → · Palette generator →

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