#951F81#951F81

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

Color values

HEX#951F81
RGBrgb(149, 31, 129)
HSLhsl(310, 66%, 35%)
HSVhsv(310, 79%, 58%)
CMYKcmyk(0%, 79.2%, 13.4%, 41.6%)
CIE-LABlab(35.90, 57.16, -27.17)
CIE-LCHlch(35.90, 63.29, 334.58°)
OKLaboklab(47.18% 0.1679 -0.0741)
OKLCHoklch(47.18% 0.184 336.2)
XYZxyz(16.8472, 8.9561, 21.6061)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F81 #1F9533
analogous
#6E1F95 #951F81 #951F46
triadic
#951F81 #81951F #1F8195
tetradic
#951F81 #956E1F #1F9533 #1F4695
square
#951F81 #956E1F #1F9533 #1F4695
split-complementary
#951F81 #46951F #1F956E
monochromatic
#300A29 #621455 #951F81 #C82AAD #DB53C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##951F81#FFFFFF#000000##FFFFFF
##951F811.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)
#214984
Deuteranopia (green-blind)
#4C5B7E
Tritanopia (blue-blind)
#9D284F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951f81;
/* rgb */ color: rgb(149, 31, 129);
/* oklch */ color: oklch(47.2% 0.184 336.2);
Tailwind
colors: {
  custom: {
    50: '#b869a6',
    500: '#951f81',
    950: '#000000',
  },
}
SCSS
$custom: #951f81;
$custom-light: #b869a6;
$custom-dark: #000000;
JSON
{
  "hex": "#951f81",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 129
  },
  "hsl": {
    "h": 310.169,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47181,
    "c": 0.18356,
    "h": 336.2
  },
  "luminance": 0.08955
}

Semantic roles & 50–950 ramp

primary
#951F81
secondary
#51BF64
accent
#E95C3F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951F81

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

Preview Lab → · Contrast checker → · Palette generator →

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