#951E81#951E81

#951E81 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.185 H 336.2°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#951E81
RGBrgb(149, 30, 129)
HSLhsl(310, 66%, 35%)
HSVhsv(310, 80%, 58%)
CMYKcmyk(0%, 79.9%, 13.4%, 41.6%)
CIE-LABlab(35.80, 57.45, -27.33)
CIE-LCHlch(35.80, 63.62, 334.56°)
OKLaboklab(47.11% 0.1688 -0.0746)
OKLCHoklch(47.11% 0.185 336.2)
XYZxyz(16.8214, 8.9047, 21.5975)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E81 #1E9532
analogous
#6D1E95 #951E81 #951E46
triadic
#951E81 #81951E #1E8195
tetradic
#951E81 #956D1E #1E9532 #1E4695
square
#951E81 #956D1E #1E9532 #1E4695
split-complementary
#951E81 #46951E #1E956D
monochromatic
#2F0929 #621455 #951E81 #C828AD #DC51C5

Accessibility & contrast

On white

7.55
#951E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951E81
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951E81#FFFFFF#000000##FFFFFF
##951E811.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204984
Deuteranopia (green-blind)
#4C5A7E
Tritanopia (blue-blind)
#9D284E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951e81;
/* rgb */ color: rgb(149, 30, 129);
/* oklch */ color: oklch(47.1% 0.185 336.2);
Tailwind
colors: {
  custom: {
    50: '#b869a6',
    500: '#951e81',
    950: '#000000',
  },
}
SCSS
$custom: #951e81;
$custom-light: #b869a6;
$custom-dark: #000000;
JSON
{
  "hex": "#951e81",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 310.084,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4711,
    "c": 0.18452,
    "h": 336.2
  },
  "luminance": 0.08903
}

Semantic roles & 50–950 ramp

primary
#951E81
secondary
#50BF62
accent
#E95B3E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951E81

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

Preview Lab → · Contrast checker → · Palette generator →

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