#951E9B#951E9B

#951E9B is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.6% C 0.204 H 325.9°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#951E9B
RGBrgb(149, 30, 155)
HSLhsl(297, 68%, 36%)
HSVhsv(297, 81%, 61%)
CMYKcmyk(3.9%, 80.6%, 0%, 39.2%)
CIE-LABlab(37.27, 61.57, -40.96)
CIE-LCHlch(37.27, 73.95, 326.36°)
OKLaboklab(48.64% 0.1688 -0.1141)
OKLCHoklch(48.64% 0.204 325.9)
XYZxyz(18.7747, 9.6860, 31.8847)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E9B #249B1E
analogous
#571E9B #951E9B #9B1E63
triadic
#951E9B #9B951E #1E9B95
tetradic
#951E9B #9B571E #249B1E #1E639B
square
#951E9B #9B571E #249B1E #1E639B
split-complementary
#951E9B #639B1E #1E9B57
monochromatic
#320A34 #641468 #951E9B #C628CE #D855DE

Accessibility & contrast

On white

7.15
#951E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#951E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951E9B
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951E9B#FFFFFF#000000##FFFFFF
##951E9B1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#3D5D98
Tritanopia (blue-blind)
#99365D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #951e9b;
/* rgb */ color: rgb(149, 30, 155);
/* oklch */ color: oklch(48.6% 0.204 325.9);
Tailwind
colors: {
  custom: {
    50: '#b86ab9',
    500: '#951e9b',
    950: '#000000',
  },
}
SCSS
$custom: #951e9b;
$custom-light: #b86ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#951e9b",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 297.12,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48635,
    "c": 0.20371,
    "h": 325.9
  },
  "luminance": 0.09685
}

Semantic roles & 50–950 ramp

primary
#951E9B
secondary
#59C253
accent
#EA3D46
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #951E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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