#951E77#951E77

#951E77 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.6% C 0.178 H 340.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#951E77
RGBrgb(149, 30, 119)
HSLhsl(315, 66%, 35%)
HSVhsv(315, 80%, 58%)
CMYKcmyk(0%, 79.9%, 20.1%, 41.6%)
CIE-LABlab(35.30, 56.02, -21.85)
CIE-LCHlch(35.30, 60.13, 338.69°)
OKLaboklab(46.59% 0.1677 -0.059)
OKLCHoklch(46.59% 0.178 340.6)
XYZxyz(16.1890, 8.6517, 18.2666)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E77 #1E953C
analogous
#771E95 #951E77 #951E3C
triadic
#951E77 #77951E #1E7795
tetradic
#951E77 #95771E #1E953C #1E3C95
square
#951E77 #95771E #1E953C #1E3C95
split-complementary
#951E77 #3C951E #1E9577
monochromatic
#2F0926 #62144E #951E77 #C828A0 #DC51B9

Accessibility & contrast

On white

7.69
#951E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#951E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951E77
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951E77#FFFFFF#000000##FFFFFF
##951E771.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284779
Deuteranopia (green-blind)
#505A74
Tritanopia (blue-blind)
#9E2249
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951e77;
/* rgb */ color: rgb(149, 30, 119);
/* oklch */ color: oklch(46.6% 0.178 340.6);
Tailwind
colors: {
  custom: {
    50: '#b8689e',
    500: '#951e77',
    950: '#000000',
  },
}
SCSS
$custom: #951e77;
$custom-light: #b8689e;
$custom-dark: #000000;
JSON
{
  "hex": "#951e77",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 315.126,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46592,
    "c": 0.17778,
    "h": 340.6
  },
  "luminance": 0.0865
}

Semantic roles & 50–950 ramp

primary
#951E77
secondary
#50BF6C
accent
#E96A3E
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951E77

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

Preview Lab → · Contrast checker → · Palette generator →

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