#951B9E#951B9E

#951B9E is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.6% C 0.208 H 324.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#951B9E
RGBrgb(149, 27, 158)
HSLhsl(296, 71%, 36%)
HSVhsv(296, 83%, 62%)
CMYKcmyk(5.7%, 82.9%, 0%, 38%)
CIE-LABlab(37.19, 62.85, -42.90)
CIE-LCHlch(37.19, 76.10, 325.68°)
OKLaboklab(48.64% 0.1707 -0.1197)
OKLCHoklch(48.64% 0.208 324.9)
XYZxyz(18.9574, 9.6433, 33.2040)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B9E #249E1B
analogous
#541B9E #951B9E #9E1B66
triadic
#951B9E #9E951B #1B9E95
tetradic
#951B9E #9E541B #249E1B #1B669E
square
#951B9E #9E541B #249E1B #1B669E
split-complementary
#951B9E #669E1B #1B9E54
monochromatic
#320935 #64126A #951B9E #C624D2 #D852E1

Accessibility & contrast

On white

7.17
#951B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#951B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951B9E
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B9E#FFFFFF#000000##FFFFFF
##951B9E1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#3A5C9B
Tritanopia (blue-blind)
#98365E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #951b9e;
/* rgb */ color: rgb(149, 27, 158);
/* oklch */ color: oklch(48.6% 0.208 324.9);
Tailwind
colors: {
  custom: {
    50: '#b869bb',
    500: '#951b9e',
    950: '#000000',
  },
}
SCSS
$custom: #951b9e;
$custom-light: #b869bb;
$custom-dark: #000000;
JSON
{
  "hex": "#951b9e",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 295.878,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48639,
    "c": 0.20846,
    "h": 324.9
  },
  "luminance": 0.09642
}

Semantic roles & 50–950 ramp

primary
#951B9E
secondary
#59C451
accent
#EE3A47
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #951B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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