#951B8D#951B8D

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

Color values

HEX#951B8D
RGBrgb(149, 27, 141)
HSLhsl(304, 69%, 35%)
HSVhsv(304, 82%, 58%)
CMYKcmyk(0%, 81.9%, 5.4%, 41.6%)
CIE-LABlab(36.17, 60.08, -34.17)
CIE-LCHlch(36.17, 69.11, 330.37°)
OKLaboklab(47.59% 0.1716 -0.0943)
OKLCHoklch(47.59% 0.196 331.2)
XYZxyz(17.5941, 9.0980, 26.0236)
Luminance0.0910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B8D #1B9523
analogous
#601B95 #951B8D #951B50
triadic
#951B8D #8D951B #1B8D95
tetradic
#951B8D #95601B #1B9523 #1B5095
square
#951B8D #95601B #1B9523 #1B5095
split-complementary
#951B8D #50951B #1B9560
monochromatic
#2D082B #61125C #951B8D #C924BE #DF4CD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##951B8D#FFFFFF#000000##FFFFFF
##951B8D1.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)
#094B90
Deuteranopia (green-blind)
#455B8A
Tritanopia (blue-blind)
#9B2D55
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951b8d;
/* rgb */ color: rgb(149, 27, 141);
/* oklch */ color: oklch(47.6% 0.196 331.2);
Tailwind
colors: {
  custom: {
    50: '#b868af',
    500: '#951b8d',
    950: '#000000',
  },
}
SCSS
$custom: #951b8d;
$custom-light: #b868af;
$custom-dark: #000000;
JSON
{
  "hex": "#951b8d",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 303.934,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47586,
    "c": 0.19575,
    "h": 331.2
  },
  "luminance": 0.09097
}

Semantic roles & 50–950 ramp

primary
#951B8D
secondary
#4BC153
accent
#EC473C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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