#951981#951981

#951981 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.189 H 336.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#951981
RGBrgb(149, 25, 129)
HSLhsl(310, 71%, 34%)
HSVhsv(310, 83%, 58%)
CMYKcmyk(0%, 83.2%, 13.4%, 41.6%)
CIE-LABlab(35.34, 58.76, -28.05)
CIE-LCHlch(35.34, 65.11, 334.49°)
OKLaboklab(46.78% 0.1727 -0.0766)
OKLCHoklch(46.78% 0.189 336.1)
XYZxyz(16.7048, 8.6714, 21.5586)
Luminance0.0867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951981 #19952D
analogous
#6B1995 #951981 #951943
triadic
#951981 #819519 #198195
tetradic
#951981 #956B19 #19952D #194395
square
#951981 #956B19 #19952D #194395
split-complementary
#951981 #439519 #19956B
monochromatic
#2C0726 #611054 #951981 #C922AE #E048C8

Accessibility & contrast

On white

7.68
#951981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#951981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951981
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951981#FFFFFF#000000##FFFFFF
##9519811.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4784
Deuteranopia (green-blind)
#4A5A7E
Tritanopia (blue-blind)
#9D244D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951981;
/* rgb */ color: rgb(149, 25, 129);
/* oklch */ color: oklch(46.8% 0.189 336.1);
Tailwind
colors: {
  custom: {
    50: '#b867a6',
    500: '#951981',
    950: '#000000',
  },
}
SCSS
$custom: #951981;
$custom-light: #b867a6;
$custom-dark: #000000;
JSON
{
  "hex": "#951981",
  "rgb": {
    "r": 149,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 309.677,
    "s": 71.264,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46783,
    "c": 0.18893,
    "h": 336.1
  },
  "luminance": 0.0867
}

Semantic roles & 50–950 ramp

primary
#951981
secondary
#48C25C
accent
#EE573A
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951981

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

Preview Lab → · Contrast checker → · Palette generator →

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