#951E7D#951E7D

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

Color values

HEX#951E7D
RGBrgb(149, 30, 125)
HSLhsl(312, 66%, 35%)
HSVhsv(312, 80%, 58%)
CMYKcmyk(0%, 79.9%, 16.1%, 41.6%)
CIE-LABlab(35.60, 56.86, -25.15)
CIE-LCHlch(35.60, 62.18, 336.14°)
OKLaboklab(46.9% 0.1684 -0.0684)
OKLCHoklch(46.9% 0.182 337.9)
XYZxyz(16.5608, 8.8004, 20.2245)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E7D #1E9536
analogous
#721E95 #951E7D #951E41
triadic
#951E7D #7D951E #1E7D95
tetradic
#951E7D #95721E #1E9536 #1E4195
square
#951E7D #95721E #1E9536 #1E4195
split-complementary
#951E7D #41951E #1E9572
monochromatic
#2F0928 #621452 #951E7D #C828A8 #DC51C0

Accessibility & contrast

On white

7.61
#951E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#951E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951E7D
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951E7D#FFFFFF#000000##FFFFFF
##951E7D1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24487F
Deuteranopia (green-blind)
#4D5A7A
Tritanopia (blue-blind)
#9E254C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951e7d;
/* rgb */ color: rgb(149, 30, 125);
/* oklch */ color: oklch(46.9% 0.182 337.9);
Tailwind
colors: {
  custom: {
    50: '#b869a3',
    500: '#951e7d',
    950: '#000000',
  },
}
SCSS
$custom: #951e7d;
$custom-light: #b869a3;
$custom-dark: #000000;
JSON
{
  "hex": "#951e7d",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 312.101,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46898,
    "c": 0.18176,
    "h": 337.9
  },
  "luminance": 0.08799
}

Semantic roles & 50–950 ramp

primary
#951E7D
secondary
#50BF66
accent
#E9613E
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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