#951F87#951F87

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

Color values

HEX#951F87
RGBrgb(149, 31, 135)
HSLhsl(307, 66%, 35%)
HSVhsv(307, 79%, 58%)
CMYKcmyk(0%, 79.2%, 9.4%, 41.6%)
CIE-LABlab(36.21, 58.07, -30.40)
CIE-LCHlch(36.21, 65.54, 332.37°)
OKLaboklab(47.51% 0.1683 -0.0834)
OKLCHoklch(47.51% 0.188 333.6)
XYZxyz(17.2577, 9.1203, 23.7685)
Luminance0.0912 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F87 #1F952D
analogous
#681F95 #951F87 #951F4C
triadic
#951F87 #87951F #1F8795
tetradic
#951F87 #95681F #1F952D #1F4C95
square
#951F87 #95681F #1F952D #1F4C95
split-complementary
#951F87 #4C951F #1F9568
monochromatic
#300A2B #621459 #951F87 #C82AB5 #DB53CB

Accessibility & contrast

On white

7.44
#951F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#951F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F87
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F87#FFFFFF#000000##FFFFFF
##951F871.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4A8A
Deuteranopia (green-blind)
#495B84
Tritanopia (blue-blind)
#9C2C52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951f87;
/* rgb */ color: rgb(149, 31, 135);
/* oklch */ color: oklch(47.5% 0.188 333.6);
Tailwind
colors: {
  custom: {
    50: '#b869aa',
    500: '#951f87',
    950: '#000000',
  },
}
SCSS
$custom: #951f87;
$custom-light: #b869aa;
$custom-dark: #000000;
JSON
{
  "hex": "#951f87",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 307.119,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4751,
    "c": 0.18782,
    "h": 333.6
  },
  "luminance": 0.09119
}

Semantic roles & 50–950 ramp

primary
#951F87
secondary
#51BF5E
accent
#E9533F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951F87

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

Preview Lab → · Contrast checker → · Palette generator →

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