#951D89#951D89

#951D89 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.191 H 332.8°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#951D89
RGBrgb(149, 29, 137)
HSLhsl(306, 67%, 35%)
HSVhsv(306, 81%, 58%)
CMYKcmyk(0%, 80.5%, 8.1%, 41.6%)
CIE-LABlab(36.13, 58.93, -31.77)
CIE-LCHlch(36.13, 66.95, 331.67°)
OKLaboklab(47.48% 0.17 -0.0874)
OKLCHoklch(47.48% 0.191 332.8)
XYZxyz(17.3493, 9.0759, 24.5002)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951D89 #1D9529
analogous
#651D95 #951D89 #951D4D
triadic
#951D89 #89951D #1D8995
tetradic
#951D89 #95651D #1D9529 #1D4D95
square
#951D89 #95651D #1D9529 #1D4D95
split-complementary
#951D89 #4D951D #1D9565
monochromatic
#2F092B #62135A #951D89 #C827B8 #DD50CF

Accessibility & contrast

On white

7.46
#951D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#951D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951D89
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951D89#FFFFFF#000000##FFFFFF
##951D891.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154A8C
Deuteranopia (green-blind)
#485B86
Tritanopia (blue-blind)
#9C2C53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951d89;
/* rgb */ color: rgb(149, 29, 137);
/* oklch */ color: oklch(47.5% 0.191 332.8);
Tailwind
colors: {
  custom: {
    50: '#b869ac',
    500: '#951d89',
    950: '#000000',
  },
}
SCSS
$custom: #951d89;
$custom-light: #b869ac;
$custom-dark: #000000;
JSON
{
  "hex": "#951d89",
  "rgb": {
    "r": 149,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 306,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47484,
    "c": 0.19112,
    "h": 332.8
  },
  "luminance": 0.09074
}

Semantic roles & 50–950 ramp

primary
#951D89
secondary
#4EC05A
accent
#EA4F3D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951D89

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

Preview Lab → · Contrast checker → · Palette generator →

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