#951D8A#951D8A

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

Color values

HEX#951D8A
RGBrgb(149, 29, 138)
HSLhsl(306, 67%, 35%)
HSVhsv(306, 81%, 58%)
CMYKcmyk(0%, 80.5%, 7.4%, 41.6%)
CIE-LABlab(36.19, 59.08, -32.30)
CIE-LCHlch(36.19, 67.34, 331.34°)
OKLaboklab(47.54% 0.17 -0.0889)
OKLCHoklch(47.54% 0.192 332.4)
XYZxyz(17.4213, 9.1048, 24.8797)
Luminance0.0910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951D8A #1D9528
analogous
#641D95 #951D8A #951D4E
triadic
#951D8A #8A951D #1D8A95
tetradic
#951D8A #95641D #1D9528 #1D4E95
square
#951D8A #95641D #1D9528 #1D4E95
split-complementary
#951D8A #4E951D #1D9564
monochromatic
#2F092B #62135B #951D8A #C827B9 #DD50D0

Accessibility & contrast

On white

7.45
#951D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#951D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951D8A
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951D8A#FFFFFF#000000##FFFFFF
##951D8A1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134A8D
Deuteranopia (green-blind)
#475B87
Tritanopia (blue-blind)
#9C2C53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951d8a;
/* rgb */ color: rgb(149, 29, 138);
/* oklch */ color: oklch(47.5% 0.192 332.4);
Tailwind
colors: {
  custom: {
    50: '#b869ac',
    500: '#951d8a',
    950: '#000000',
  },
}
SCSS
$custom: #951d8a;
$custom-light: #b869ac;
$custom-dark: #000000;
JSON
{
  "hex": "#951d8a",
  "rgb": {
    "r": 149,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 305.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47541,
    "c": 0.19184,
    "h": 332.4
  },
  "luminance": 0.09103
}

Semantic roles & 50–950 ramp

primary
#951D8A
secondary
#4EC059
accent
#EA4D3D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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