#951C87#951C87

#951C87 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.191 H 333.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#951C87
RGBrgb(149, 28, 135)
HSLhsl(307, 68%, 35%)
HSVhsv(307, 81%, 58%)
CMYKcmyk(0%, 81.2%, 9.4%, 41.6%)
CIE-LABlab(35.93, 58.89, -30.85)
CIE-LCHlch(35.93, 66.48, 332.35°)
OKLaboklab(47.3% 0.1707 -0.0847)
OKLCHoklch(47.3% 0.191 333.6)
XYZxyz(17.1830, 8.9709, 23.7436)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C87 #1C952A
analogous
#671C95 #951C87 #951C4B
triadic
#951C87 #87951C #1C8795
tetradic
#951C87 #95671C #1C952A #1C4B95
square
#951C87 #95671C #1C952A #1C4B95
split-complementary
#951C87 #4B951C #1C9567
monochromatic
#2E092A #611258 #951C87 #C926B6 #DE4ECD

Accessibility & contrast

On white

7.52
#951C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#951C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951C87
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C87#FFFFFF#000000##FFFFFF
##951C871.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174A8A
Deuteranopia (green-blind)
#485B84
Tritanopia (blue-blind)
#9C2A51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951c87;
/* rgb */ color: rgb(149, 28, 135);
/* oklch */ color: oklch(47.3% 0.191 333.6);
Tailwind
colors: {
  custom: {
    50: '#b868aa',
    500: '#951c87',
    950: '#000000',
  },
}
SCSS
$custom: #951c87;
$custom-light: #b868aa;
$custom-dark: #000000;
JSON
{
  "hex": "#951c87",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 306.942,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47304,
    "c": 0.19057,
    "h": 333.6
  },
  "luminance": 0.08969
}

Semantic roles & 50–950 ramp

primary
#951C87
secondary
#4DC05A
accent
#EB513D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951C87

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

Preview Lab → · Contrast checker → · Palette generator →

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