#951E7E#951E7E

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

Color values

HEX#951E7E
RGBrgb(149, 30, 126)
HSLhsl(312, 66%, 35%)
HSVhsv(312, 80%, 58%)
CMYKcmyk(0%, 79.9%, 15.4%, 41.6%)
CIE-LABlab(35.65, 57.01, -25.70)
CIE-LCHlch(35.65, 62.53, 335.73°)
OKLaboklab(46.95% 0.1685 -0.0699)
OKLCHoklch(46.95% 0.182 337.5)
XYZxyz(16.6250, 8.8261, 20.5627)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E7E #1E9535
analogous
#711E95 #951E7E #951E42
triadic
#951E7E #7E951E #1E7E95
tetradic
#951E7E #95711E #1E9535 #1E4295
square
#951E7E #95711E #1E9535 #1E4295
split-complementary
#951E7E #42951E #1E9571
monochromatic
#2F0928 #621453 #951E7E #C828A9 #DC51C1

Accessibility & contrast

On white

7.60
#951E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951E7E
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951E7E#FFFFFF#000000##FFFFFF
##951E7E1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #951e7e;
/* rgb */ color: rgb(149, 30, 126);
/* oklch */ color: oklch(46.9% 0.182 337.5);
Tailwind
colors: {
  custom: {
    50: '#b869a3',
    500: '#951e7e',
    950: '#000000',
  },
}
SCSS
$custom: #951e7e;
$custom-light: #b869a3;
$custom-dark: #000000;
JSON
{
  "hex": "#951e7e",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 311.597,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4695,
    "c": 0.18245,
    "h": 337.5
  },
  "luminance": 0.08824
}

Semantic roles & 50–950 ramp

primary
#951E7E
secondary
#50BF65
accent
#E95F3E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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