#951984#951984

#951984 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.191 H 334.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#951984
RGBrgb(149, 25, 132)
HSLhsl(308, 71%, 34%)
HSVhsv(308, 83%, 58%)
CMYKcmyk(0%, 83.2%, 11.4%, 41.6%)
CIE-LABlab(35.50, 59.20, -29.66)
CIE-LCHlch(35.50, 66.22, 333.39°)
OKLaboklab(46.95% 0.1729 -0.0813)
OKLCHoklch(46.95% 0.191 334.8)
XYZxyz(16.9071, 8.7523, 22.6243)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951984 #19952A
analogous
#681995 #951984 #951946
triadic
#951984 #849519 #198495
tetradic
#951984 #956819 #19952A #194695
square
#951984 #956819 #19952A #194695
split-complementary
#951984 #469519 #199568
monochromatic
#2C0727 #611056 #951984 #C922B2 #E048CB

Accessibility & contrast

On white

7.64
#951984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#951984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951984
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951984#FFFFFF#000000##FFFFFF
##9519841.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174887
Deuteranopia (green-blind)
#495A81
Tritanopia (blue-blind)
#9D264F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951984;
/* rgb */ color: rgb(149, 25, 132);
/* oklch */ color: oklch(46.9% 0.191 334.8);
Tailwind
colors: {
  custom: {
    50: '#b867a8',
    500: '#951984',
    950: '#000000',
  },
}
SCSS
$custom: #951984;
$custom-light: #b867a8;
$custom-dark: #000000;
JSON
{
  "hex": "#951984",
  "rgb": {
    "r": 149,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 308.226,
    "s": 71.264,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46948,
    "c": 0.191,
    "h": 334.8
  },
  "luminance": 0.08751
}

Semantic roles & 50–950 ramp

primary
#951984
secondary
#48C259
accent
#EE523A
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951984

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

Preview Lab → · Contrast checker → · Palette generator →

#951984 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva