#951E83#951E83

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

Color values

HEX#951E83
RGBrgb(149, 30, 131)
HSLhsl(309, 66%, 35%)
HSVhsv(309, 80%, 58%)
CMYKcmyk(0%, 79.9%, 12.1%, 41.6%)
CIE-LABlab(35.90, 57.74, -28.41)
CIE-LCHlch(35.90, 64.35, 333.80°)
OKLaboklab(47.22% 0.1689 -0.0777)
OKLCHoklch(47.22% 0.186 335.3)
XYZxyz(16.9557, 8.9584, 22.3045)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E83 #1E9530
analogous
#6C1E95 #951E83 #951E47
triadic
#951E83 #83951E #1E8395
tetradic
#951E83 #956C1E #1E9530 #1E4795
square
#951E83 #956C1E #1E9530 #1E4795
split-complementary
#951E83 #47951E #1E956C
monochromatic
#2F0929 #621456 #951E83 #C828B0 #DC51C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##951E83#FFFFFF#000000##FFFFFF
##951E831.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)
#1E4986
Deuteranopia (green-blind)
#4B5B80
Tritanopia (blue-blind)
#9D2950
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951e83;
/* rgb */ color: rgb(149, 30, 131);
/* oklch */ color: oklch(47.2% 0.186 335.3);
Tailwind
colors: {
  custom: {
    50: '#b869a7',
    500: '#951e83',
    950: '#000000',
  },
}
SCSS
$custom: #951e83;
$custom-light: #b869a7;
$custom-dark: #000000;
JSON
{
  "hex": "#951e83",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 309.076,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47218,
    "c": 0.18592,
    "h": 335.3
  },
  "luminance": 0.08957
}

Semantic roles & 50–950 ramp

primary
#951E83
secondary
#50BF61
accent
#E9583E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951E83

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

Preview Lab → · Contrast checker → · Palette generator →

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