#951D8F#951D8F

#951D8F is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.196 H 330.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#951D8F
RGBrgb(149, 29, 143)
HSLhsl(303, 67%, 35%)
HSVhsv(303, 81%, 58%)
CMYKcmyk(0%, 80.5%, 4%, 41.6%)
CIE-LABlab(36.47, 59.87, -34.93)
CIE-LCHlch(36.47, 69.31, 329.74°)
OKLaboklab(47.83% 0.17 -0.0965)
OKLCHoklch(47.83% 0.196 330.4)
XYZxyz(17.7917, 9.2529, 26.8302)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951D8F #1D9523
analogous
#5F1D95 #951D8F #951D53
triadic
#951D8F #8F951D #1D8F95
tetradic
#951D8F #955F1D #1D9523 #1D5395
square
#951D8F #955F1D #1D9523 #1D5395
split-complementary
#951D8F #53951D #1D955F
monochromatic
#2F092D #62135E #951D8F #C827C0 #DD50D6

Accessibility & contrast

On white

7.37
#951D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#951D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951D8F
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951D8F#FFFFFF#000000##FFFFFF
##951D8F1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084C92
Deuteranopia (green-blind)
#445B8C
Tritanopia (blue-blind)
#9B2F56
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #951d8f;
/* rgb */ color: rgb(149, 29, 143);
/* oklch */ color: oklch(47.8% 0.196 330.4);
Tailwind
colors: {
  custom: {
    50: '#b869b0',
    500: '#951d8f',
    950: '#000000',
  },
}
SCSS
$custom: #951d8f;
$custom-light: #b869b0;
$custom-dark: #000000;
JSON
{
  "hex": "#951d8f",
  "rgb": {
    "r": 149,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 303,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47833,
    "c": 0.1955,
    "h": 330.4
  },
  "luminance": 0.09251
}

Semantic roles & 50–950 ramp

primary
#951D8F
secondary
#4EC054
accent
#EA463D
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #951D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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