#951E8D#951E8D

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

Color values

HEX#951E8D
RGBrgb(149, 30, 141)
HSLhsl(304, 66%, 35%)
HSVhsv(304, 80%, 58%)
CMYKcmyk(0%, 79.9%, 5.4%, 41.6%)
CIE-LABlab(36.45, 59.28, -33.73)
CIE-LCHlch(36.45, 68.20, 330.36°)
OKLaboklab(47.78% 0.1692 -0.093)
OKLCHoklch(47.78% 0.193 331.2)
XYZxyz(17.6664, 9.2427, 26.0477)
Luminance0.0924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E8D #1E9526
analogous
#621E95 #951E8D #951E51
triadic
#951E8D #8D951E #1E8D95
tetradic
#951E8D #95621E #1E9526 #1E5195
square
#951E8D #95621E #1E9526 #1E5195
split-complementary
#951E8D #51951E #1E9562
monochromatic
#2F092D #62145D #951E8D #C828BD #DC51D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##951E8D#FFFFFF#000000##FFFFFF
##951E8D1.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)
#0F4B90
Deuteranopia (green-blind)
#465B8A
Tritanopia (blue-blind)
#9B2E55
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #951e8d;
/* rgb */ color: rgb(149, 30, 141);
/* oklch */ color: oklch(47.8% 0.193 331.2);
Tailwind
colors: {
  custom: {
    50: '#b869af',
    500: '#951e8d',
    950: '#000000',
  },
}
SCSS
$custom: #951e8d;
$custom-light: #b869af;
$custom-dark: #000000;
JSON
{
  "hex": "#951e8d",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 304.034,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47782,
    "c": 0.19313,
    "h": 331.2
  },
  "luminance": 0.09241
}

Semantic roles & 50–950 ramp

primary
#951E8D
secondary
#50BF57
accent
#E94A3E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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