#951D78#951D78

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

Color values

HEX#951D78
RGBrgb(149, 29, 120)
HSLhsl(315, 67%, 35%)
HSVhsv(315, 81%, 58%)
CMYKcmyk(0%, 80.5%, 19.5%, 41.6%)
CIE-LABlab(35.25, 56.44, -22.56)
CIE-LCHlch(35.25, 60.78, 338.22°)
OKLaboklab(46.57% 0.1687 -0.061)
OKLCHoklch(46.57% 0.179 340.1)
XYZxyz(16.2244, 8.6260, 18.5762)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951D78 #1D953A
analogous
#761D95 #951D78 #951D3C
triadic
#951D78 #78951D #1D7895
tetradic
#951D78 #95761D #1D953A #1D3C95
square
#951D78 #95761D #1D953A #1D3C95
split-complementary
#951D78 #3C951D #1D9576
monochromatic
#2F0925 #62134F #951D78 #C827A1 #DD50BB

Accessibility & contrast

On white

7.71
#951D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#951D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951D78
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951D78#FFFFFF#000000##FFFFFF
##951D781.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27477A
Deuteranopia (green-blind)
#4F5A75
Tritanopia (blue-blind)
#9E2149
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951d78;
/* rgb */ color: rgb(149, 29, 120);
/* oklch */ color: oklch(46.6% 0.179 340.1);
Tailwind
colors: {
  custom: {
    50: '#b8689f',
    500: '#951d78',
    950: '#000000',
  },
}
SCSS
$custom: #951d78;
$custom-light: #b8689f;
$custom-dark: #000000;
JSON
{
  "hex": "#951d78",
  "rgb": {
    "r": 149,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 314.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46571,
    "c": 0.17939,
    "h": 340.1
  },
  "luminance": 0.08624
}

Semantic roles & 50–950 ramp

primary
#951D78
secondary
#4EC06A
accent
#EA673D
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951D78

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

Preview Lab → · Contrast checker → · Palette generator →

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