#951D7E#951D7E

#951D7E is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.9% C 0.183 H 337.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#951D7E
RGBrgb(149, 29, 126)
HSLhsl(312, 67%, 35%)
HSVhsv(312, 81%, 58%)
CMYKcmyk(0%, 80.5%, 15.4%, 41.6%)
CIE-LABlab(35.55, 57.29, -25.85)
CIE-LCHlch(35.55, 62.85, 335.71°)
OKLaboklab(46.88% 0.1694 -0.0703)
OKLCHoklch(46.88% 0.183 337.4)
XYZxyz(16.6000, 8.7763, 20.5544)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951D7E #1D9534
analogous
#701D95 #951D7E #951D42
triadic
#951D7E #7E951D #1D7E95
tetradic
#951D7E #95701D #1D9534 #1D4295
square
#951D7E #95701D #1D9534 #1D4295
split-complementary
#951D7E #42951D #1D9570
monochromatic
#2F0927 #621353 #951D7E #C827A9 #DD50C2

Accessibility & contrast

On white

7.62
#951D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#951D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951D7E
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951D7E#FFFFFF#000000##FFFFFF
##951D7E1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224881
Deuteranopia (green-blind)
#4D5A7B
Tritanopia (blue-blind)
#9D254D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951d7e;
/* rgb */ color: rgb(149, 29, 126);
/* oklch */ color: oklch(46.9% 0.183 337.4);
Tailwind
colors: {
  custom: {
    50: '#b868a3',
    500: '#951d7e',
    950: '#000000',
  },
}
SCSS
$custom: #951d7e;
$custom-light: #b868a3;
$custom-dark: #000000;
JSON
{
  "hex": "#951d7e",
  "rgb": {
    "r": 149,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 311.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4688,
    "c": 0.18339,
    "h": 337.4
  },
  "luminance": 0.08775
}

Semantic roles & 50–950 ramp

primary
#951D7E
secondary
#4EC064
accent
#EA5F3D
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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