#951989#951989

#951989 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.195 H 332.8°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#951989
RGBrgb(149, 25, 137)
HSLhsl(306, 71%, 34%)
HSVhsv(306, 83%, 58%)
CMYKcmyk(0%, 83.2%, 8.1%, 41.6%)
CIE-LABlab(35.78, 59.95, -32.33)
CIE-LCHlch(35.78, 68.11, 331.67°)
OKLaboklab(47.23% 0.173 -0.0889)
OKLCHoklch(47.23% 0.195 332.8)
XYZxyz(17.2575, 8.8925, 24.4696)
Luminance0.0889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951989 #199525
analogous
#631995 #951989 #95194B
triadic
#951989 #899519 #198995
tetradic
#951989 #956319 #199525 #194B95
square
#951989 #956319 #199525 #194B95
split-complementary
#951989 #4B9519 #199563
monochromatic
#2C0729 #611059 #951989 #C922B9 #E048D2

Accessibility & contrast

On white

7.56
#951989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#951989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951989
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951989#FFFFFF#000000##FFFFFF
##9519891.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F498C
Deuteranopia (green-blind)
#465A86
Tritanopia (blue-blind)
#9C2952
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951989;
/* rgb */ color: rgb(149, 25, 137);
/* oklch */ color: oklch(47.2% 0.195 332.8);
Tailwind
colors: {
  custom: {
    50: '#b868ac',
    500: '#951989',
    950: '#000000',
  },
}
SCSS
$custom: #951989;
$custom-light: #b868ac;
$custom-dark: #000000;
JSON
{
  "hex": "#951989",
  "rgb": {
    "r": 149,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 305.806,
    "s": 71.264,
    "l": 34.118
  },
  "oklch": {
    "l": 0.47232,
    "c": 0.19451,
    "h": 332.8
  },
  "luminance": 0.08891
}

Semantic roles & 50–950 ramp

primary
#951989
secondary
#48C254
accent
#EE4B3A
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951989

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

Preview Lab → · Contrast checker → · Palette generator →

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