#951F96#951F96

#951F96 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.199 H 327.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#951F96
RGBrgb(149, 31, 150)
HSLhsl(299, 66%, 35%)
HSVhsv(299, 79%, 59%)
CMYKcmyk(0.7%, 79.3%, 0%, 41.2%)
CIE-LABlab(37.06, 60.46, -38.26)
CIE-LCHlch(37.06, 71.55, 327.68°)
OKLaboklab(48.39% 0.1683 -0.1062)
OKLCHoklch(48.39% 0.199 327.7)
XYZxyz(18.3892, 9.5729, 29.7275)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F96 #20961F
analogous
#591F96 #951F96 #961F5B
triadic
#951F96 #96951F #1F9695
tetradic
#951F96 #96591F #20961F #1F5B96
square
#951F96 #96591F #20961F #1F5B96
split-complementary
#951F96 #5B961F #1F9659
monochromatic
#300A31 #631563 #951F96 #C729C9 #DA54DC

Accessibility & contrast

On white

7.21
#951F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951F96
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F96#FFFFFF#000000##FFFFFF
##951F961.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#415C93
Tritanopia (blue-blind)
#9A345B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #951f96;
/* rgb */ color: rgb(149, 31, 150);
/* oklch */ color: oklch(48.4% 0.199 327.7);
Tailwind
colors: {
  custom: {
    50: '#b86ab5',
    500: '#951f96',
    950: '#000000',
  },
}
SCSS
$custom: #951f96;
$custom-light: #b86ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#951f96",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 299.496,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4839,
    "c": 0.19898,
    "h": 327.7
  },
  "luminance": 0.09572
}

Semantic roles & 50–950 ramp

primary
#951F96
secondary
#53BF52
accent
#E93F41
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #951F96

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

Preview Lab → · Contrast checker → · Palette generator →

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