#951E97#951E97

#951E97 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.4% C 0.201 H 327.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#951E97
RGBrgb(149, 30, 151)
HSLhsl(299, 67%, 35%)
HSVhsv(299, 80%, 59%)
CMYKcmyk(1.3%, 80.1%, 0%, 40.8%)
CIE-LABlab(37.03, 60.90, -38.92)
CIE-LCHlch(37.03, 72.27, 327.42°)
OKLaboklab(48.38% 0.169 -0.1081)
OKLCHoklch(48.38% 0.201 327.4)
XYZxyz(18.4443, 9.5538, 30.1448)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E97 #20971E
analogous
#581E97 #951E97 #971E5D
triadic
#951E97 #97951E #1E9795
tetradic
#951E97 #97581E #20971E #1E5D97
square
#951E97 #97581E #20971E #1E5D97
split-complementary
#951E97 #5D971E #1E9758
monochromatic
#300A31 #631464 #951E97 #C728CA #DA53DD

Accessibility & contrast

On white

7.22
#951E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#951E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951E97
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951E97#FFFFFF#000000##FFFFFF
##951E971.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#405C94
Tritanopia (blue-blind)
#9A345B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #951e97;
/* rgb */ color: rgb(149, 30, 151);
/* oklch */ color: oklch(48.4% 0.201 327.4);
Tailwind
colors: {
  custom: {
    50: '#b86ab6',
    500: '#951e97',
    950: '#000000',
  },
}
SCSS
$custom: #951e97;
$custom-light: #b86ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#951e97",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 299.008,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48384,
    "c": 0.20064,
    "h": 327.4
  },
  "luminance": 0.09552
}

Semantic roles & 50–950 ramp

primary
#951E97
secondary
#53C051
accent
#EA3E41
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #951E97

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

Preview Lab → · Contrast checker → · Palette generator →

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