#951D87#951D87

#951D87 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.190 H 333.6°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#951D87
RGBrgb(149, 29, 135)
HSLhsl(307, 67%, 35%)
HSVhsv(307, 81%, 58%)
CMYKcmyk(0%, 80.5%, 9.4%, 41.6%)
CIE-LABlab(36.02, 58.62, -30.70)
CIE-LCHlch(36.02, 66.18, 332.36°)
OKLaboklab(47.37% 0.1699 -0.0843)
OKLCHoklch(47.37% 0.19 333.6)
XYZxyz(17.2071, 9.0191, 23.7516)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951D87 #1D952B
analogous
#671D95 #951D87 #951D4B
triadic
#951D87 #87951D #1D8795
tetradic
#951D87 #95671D #1D952B #1D4B95
square
#951D87 #95671D #1D952B #1D4B95
split-complementary
#951D87 #4B951D #1D9567
monochromatic
#2F092A #621359 #951D87 #C827B5 #DD50CC

Accessibility & contrast

On white

7.49
#951D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#951D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951D87
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951D87#FFFFFF#000000##FFFFFF
##951D871.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184A8A
Deuteranopia (green-blind)
#495B84
Tritanopia (blue-blind)
#9C2A52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951d87;
/* rgb */ color: rgb(149, 29, 135);
/* oklch */ color: oklch(47.4% 0.190 333.6);
Tailwind
colors: {
  custom: {
    50: '#b869aa',
    500: '#951d87',
    950: '#000000',
  },
}
SCSS
$custom: #951d87;
$custom-light: #b869aa;
$custom-dark: #000000;
JSON
{
  "hex": "#951d87",
  "rgb": {
    "r": 149,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 307,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47371,
    "c": 0.18968,
    "h": 333.6
  },
  "luminance": 0.09018
}

Semantic roles & 50–950 ramp

primary
#951D87
secondary
#4EC05B
accent
#EA523D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951D87

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

Preview Lab → · Contrast checker → · Palette generator →

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