#951E78#951E78

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

Color values

HEX#951E78
RGBrgb(149, 30, 120)
HSLhsl(315, 66%, 35%)
HSVhsv(315, 80%, 58%)
CMYKcmyk(0%, 79.9%, 19.5%, 41.6%)
CIE-LABlab(35.35, 56.16, -22.40)
CIE-LCHlch(35.35, 60.46, 338.25°)
OKLaboklab(46.64% 0.1679 -0.0605)
OKLCHoklch(46.64% 0.178 340.2)
XYZxyz(16.2494, 8.6758, 18.5845)
Luminance0.0867 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E78 #1E953B
analogous
#761E95 #951E78 #951E3C
triadic
#951E78 #78951E #1E7895
tetradic
#951E78 #95761E #1E953B #1E3C95
square
#951E78 #95761E #1E953B #1E3C95
split-complementary
#951E78 #3C951E #1E9576
monochromatic
#2F0926 #62144F #951E78 #C828A1 #DC51BA

Accessibility & contrast

On white

7.68
#951E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951E78
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951E78#FFFFFF#000000##FFFFFF
##951E781.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #951e78;
/* rgb */ color: rgb(149, 30, 120);
/* oklch */ color: oklch(46.6% 0.178 340.2);
Tailwind
colors: {
  custom: {
    50: '#b8689f',
    500: '#951e78',
    950: '#000000',
  },
}
SCSS
$custom: #951e78;
$custom-light: #b8689f;
$custom-dark: #000000;
JSON
{
  "hex": "#951e78",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 120
  },
  "hsl": {
    "h": 314.622,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46642,
    "c": 0.17843,
    "h": 340.2
  },
  "luminance": 0.08674
}

Semantic roles & 50–950 ramp

primary
#951E78
secondary
#50BF6B
accent
#E9683E
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951E78

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

Preview Lab → · Contrast checker → · Palette generator →

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