#951E87#951E87

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

Color values

HEX#951E87
RGBrgb(149, 30, 135)
HSLhsl(307, 66%, 35%)
HSVhsv(307, 80%, 58%)
CMYKcmyk(0%, 79.9%, 9.4%, 41.6%)
CIE-LABlab(36.12, 58.35, -30.55)
CIE-LCHlch(36.12, 65.86, 332.36°)
OKLaboklab(47.44% 0.1691 -0.0839)
OKLCHoklch(47.44% 0.189 333.6)
XYZxyz(17.2320, 9.0689, 23.7599)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E87 #1E952C
analogous
#681E95 #951E87 #951E4B
triadic
#951E87 #87951E #1E8795
tetradic
#951E87 #95681E #1E952C #1E4B95
square
#951E87 #95681E #1E952C #1E4B95
split-complementary
#951E87 #4B951E #1E9568
monochromatic
#2F092B #621459 #951E87 #C828B5 #DC51CC

Accessibility & contrast

On white

7.46
#951E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#951E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951E87
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951E87#FFFFFF#000000##FFFFFF
##951E871.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #951e87;
/* rgb */ color: rgb(149, 30, 135);
/* oklch */ color: oklch(47.4% 0.189 333.6);
Tailwind
colors: {
  custom: {
    50: '#b869aa',
    500: '#951e87',
    950: '#000000',
  },
}
SCSS
$custom: #951e87;
$custom-light: #b869aa;
$custom-dark: #000000;
JSON
{
  "hex": "#951e87",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 307.059,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47439,
    "c": 0.18876,
    "h": 333.6
  },
  "luminance": 0.09067
}

Semantic roles & 50–950 ramp

primary
#951E87
secondary
#50BF5D
accent
#E9533E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951E87

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

Preview Lab → · Contrast checker → · Palette generator →

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