#951D8E#951D8E

#951D8E is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.8% C 0.195 H 330.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#951D8E
RGBrgb(149, 29, 142)
HSLhsl(304, 67%, 35%)
HSVhsv(304, 81%, 58%)
CMYKcmyk(0%, 80.5%, 4.7%, 41.6%)
CIE-LABlab(36.41, 59.71, -34.40)
CIE-LCHlch(36.41, 68.91, 330.05°)
OKLaboklab(47.77% 0.17 -0.095)
OKLCHoklch(47.77% 0.195 330.8)
XYZxyz(17.7163, 9.2227, 26.4330)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951D8E #1D9524
analogous
#601D95 #951D8E #951D52
triadic
#951D8E #8E951D #1D8E95
tetradic
#951D8E #95601D #1D9524 #1D5295
square
#951D8E #95601D #1D9524 #1D5295
split-complementary
#951D8E #52951D #1D9560
monochromatic
#2F092C #62135D #951D8E #C827BF #DD50D5

Accessibility & contrast

On white

7.38
#951D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#951D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951D8E
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951D8E#FFFFFF#000000##FFFFFF
##951D8E1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4B91
Deuteranopia (green-blind)
#455B8B
Tritanopia (blue-blind)
#9B2E56
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #951d8e;
/* rgb */ color: rgb(149, 29, 142);
/* oklch */ color: oklch(47.8% 0.195 330.8);
Tailwind
colors: {
  custom: {
    50: '#b869af',
    500: '#951d8e',
    950: '#000000',
  },
}
SCSS
$custom: #951d8e;
$custom-light: #b869af;
$custom-dark: #000000;
JSON
{
  "hex": "#951d8e",
  "rgb": {
    "r": 149,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 303.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47774,
    "c": 0.19476,
    "h": 330.8
  },
  "luminance": 0.09221
}

Semantic roles & 50–950 ramp

primary
#951D8E
secondary
#4EC055
accent
#EA483D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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