#951D8D#951D8D

#951D8D is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.194 H 331.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#951D8D
RGBrgb(149, 29, 141)
HSLhsl(304, 67%, 35%)
HSVhsv(304, 81%, 58%)
CMYKcmyk(0%, 80.5%, 5.4%, 41.6%)
CIE-LABlab(36.35, 59.55, -33.88)
CIE-LCHlch(36.35, 68.52, 330.37°)
OKLaboklab(47.72% 0.17 -0.0935)
OKLCHoklch(47.72% 0.194 331.2)
XYZxyz(17.6415, 9.1928, 26.0394)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951D8D #1D9525
analogous
#611D95 #951D8D #951D51
triadic
#951D8D #8D951D #1D8D95
tetradic
#951D8D #95611D #1D9525 #1D5195
square
#951D8D #95611D #1D9525 #1D5195
split-complementary
#951D8D #51951D #1D9561
monochromatic
#2F092C #62135D #951D8D #C827BD #DD50D3

Accessibility & contrast

On white

7.40
#951D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951D8D
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951D8D#FFFFFF#000000##FFFFFF
##951D8D1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4B90
Deuteranopia (green-blind)
#455B8A
Tritanopia (blue-blind)
#9B2E55
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951d8d;
/* rgb */ color: rgb(149, 29, 141);
/* oklch */ color: oklch(47.7% 0.194 331.2);
Tailwind
colors: {
  custom: {
    50: '#b869af',
    500: '#951d8d',
    950: '#000000',
  },
}
SCSS
$custom: #951d8d;
$custom-light: #b869af;
$custom-dark: #000000;
JSON
{
  "hex": "#951d8d",
  "rgb": {
    "r": 149,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 304,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47715,
    "c": 0.19403,
    "h": 331.2
  },
  "luminance": 0.09191
}

Semantic roles & 50–950 ramp

primary
#951D8D
secondary
#4EC056
accent
#EA493D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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