#951E96#951E96

#951E96 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.3% C 0.200 H 327.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#951E96
RGBrgb(149, 30, 150)
HSLhsl(300, 67%, 35%)
HSVhsv(300, 80%, 59%)
CMYKcmyk(0.7%, 80%, 0%, 41.2%)
CIE-LABlab(36.97, 60.73, -38.41)
CIE-LCHlch(36.97, 71.86, 327.69°)
OKLaboklab(48.32% 0.1691 -0.1066)
OKLCHoklch(48.32% 0.2 327.8)
XYZxyz(18.3635, 9.5215, 29.7189)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E96 #1F961E
analogous
#591E96 #951E96 #961E5B
triadic
#951E96 #96951E #1E9695
tetradic
#951E96 #96591E #1F961E #1E5B96
square
#951E96 #96591E #1F961E #1E5B96
split-complementary
#951E96 #5B961E #1E9659
monochromatic
#300A30 #621463 #951E96 #C828C9 #DB52DC

Accessibility & contrast

On white

7.23
#951E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#951E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951E96
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951E96#FFFFFF#000000##FFFFFF
##951E961.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#405C93
Tritanopia (blue-blind)
#9A335A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #951e96;
/* rgb */ color: rgb(149, 30, 150);
/* oklch */ color: oklch(48.3% 0.200 327.8);
Tailwind
colors: {
  custom: {
    50: '#b86ab5',
    500: '#951e96',
    950: '#000000',
  },
}
SCSS
$custom: #951e96;
$custom-light: #b86ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#951e96",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 299.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48322,
    "c": 0.19988,
    "h": 327.8
  },
  "luminance": 0.0952
}

Semantic roles & 50–950 ramp

primary
#951E96
secondary
#51BF50
accent
#EA3E40
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #951E96

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

Preview Lab → · Contrast checker → · Palette generator →

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