#951987#951987

#951987 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.1% C 0.193 H 333.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#951987
RGBrgb(149, 25, 135)
HSLhsl(307, 71%, 34%)
HSVhsv(307, 83%, 58%)
CMYKcmyk(0%, 83.2%, 9.4%, 41.6%)
CIE-LABlab(35.67, 59.65, -31.26)
CIE-LCHlch(35.67, 67.35, 332.34°)
OKLaboklab(47.12% 0.1729 -0.0859)
OKLCHoklch(47.12% 0.193 333.6)
XYZxyz(17.1154, 8.8356, 23.7210)
Luminance0.0883 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951987 #199527
analogous
#651995 #951987 #951949
triadic
#951987 #879519 #198795
tetradic
#951987 #956519 #199527 #194995
square
#951987 #956519 #199527 #194995
split-complementary
#951987 #499519 #199565
monochromatic
#2C0728 #611058 #951987 #C922B6 #E048CF

Accessibility & contrast

On white

7.59
#951987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#951987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951987
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951987#FFFFFF#000000##FFFFFF
##9519871.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13498A
Deuteranopia (green-blind)
#475A84
Tritanopia (blue-blind)
#9C2851
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951987;
/* rgb */ color: rgb(149, 25, 135);
/* oklch */ color: oklch(47.1% 0.193 333.6);
Tailwind
colors: {
  custom: {
    50: '#b867aa',
    500: '#951987',
    950: '#000000',
  },
}
SCSS
$custom: #951987;
$custom-light: #b867aa;
$custom-dark: #000000;
JSON
{
  "hex": "#951987",
  "rgb": {
    "r": 149,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 306.774,
    "s": 71.264,
    "l": 34.118
  },
  "oklch": {
    "l": 0.47117,
    "c": 0.19309,
    "h": 333.6
  },
  "luminance": 0.08834
}

Semantic roles & 50–950 ramp

primary
#951987
secondary
#48C256
accent
#EE4E3A
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951987

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

Preview Lab → · Contrast checker → · Palette generator →

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