#951C84#951C84

#951C84 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.188 H 334.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#951C84
RGBrgb(149, 28, 132)
HSLhsl(308, 68%, 35%)
HSVhsv(308, 81%, 58%)
CMYKcmyk(0%, 81.2%, 11.4%, 41.6%)
CIE-LABlab(35.77, 58.44, -29.24)
CIE-LCHlch(35.77, 65.35, 333.42°)
OKLaboklab(47.14% 0.1706 -0.0801)
OKLCHoklch(47.14% 0.188 334.9)
XYZxyz(16.9748, 8.8876, 22.6468)
Luminance0.0889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C84 #1C952D
analogous
#6A1C95 #951C84 #951C47
triadic
#951C84 #84951C #1C8495
tetradic
#951C84 #956A1C #1C952D #1C4795
square
#951C84 #956A1C #1C952D #1C4795
split-complementary
#951C84 #47951C #1C956A
monochromatic
#2E0929 #611256 #951C84 #C926B2 #DE4EC9

Accessibility & contrast

On white

7.56
#951C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#951C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951C84
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C84#FFFFFF#000000##FFFFFF
##951C841.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4987
Deuteranopia (green-blind)
#4A5A81
Tritanopia (blue-blind)
#9D2850
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951c84;
/* rgb */ color: rgb(149, 28, 132);
/* oklch */ color: oklch(47.1% 0.188 334.9);
Tailwind
colors: {
  custom: {
    50: '#b868a8',
    500: '#951c84',
    950: '#000000',
  },
}
SCSS
$custom: #951c84;
$custom-light: #b868a8;
$custom-dark: #000000;
JSON
{
  "hex": "#951c84",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 308.43,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47137,
    "c": 0.18845,
    "h": 334.9
  },
  "luminance": 0.08886
}

Semantic roles & 50–950 ramp

primary
#951C84
secondary
#4DC05D
accent
#EB553D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951C84

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

Preview Lab → · Contrast checker → · Palette generator →

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