#951C78#951C78

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

Color values

HEX#951C78
RGBrgb(149, 28, 120)
HSLhsl(314, 68%, 35%)
HSVhsv(314, 81%, 58%)
CMYKcmyk(0%, 81.2%, 19.5%, 41.6%)
CIE-LABlab(35.16, 56.71, -22.70)
CIE-LCHlch(35.16, 61.09, 338.18°)
OKLaboklab(46.5% 0.1696 -0.0614)
OKLCHoklch(46.5% 0.18 340.1)
XYZxyz(16.2003, 8.5778, 18.5682)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C78 #1C9539
analogous
#761C95 #951C78 #951C3C
triadic
#951C78 #78951C #1C7895
tetradic
#951C78 #95761C #1C9539 #1C3C95
square
#951C78 #95761C #1C9539 #1C3C95
split-complementary
#951C78 #3C951C #1C9576
monochromatic
#2E0925 #61124F #951C78 #C926A1 #DE4EBB

Accessibility & contrast

On white

7.73
#951C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951C78
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C78#FFFFFF#000000##FFFFFF
##951C781.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #951c78;
/* rgb */ color: rgb(149, 28, 120);
/* oklch */ color: oklch(46.5% 0.180 340.1);
Tailwind
colors: {
  custom: {
    50: '#b8689f',
    500: '#951c78',
    950: '#000000',
  },
}
SCSS
$custom: #951c78;
$custom-light: #b8689f;
$custom-dark: #000000;
JSON
{
  "hex": "#951c78",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 314.38,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46503,
    "c": 0.18031,
    "h": 340.1
  },
  "luminance": 0.08576
}

Semantic roles & 50–950 ramp

primary
#951C78
secondary
#4DC068
accent
#EB663D
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951C78

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

Preview Lab → · Contrast checker → · Palette generator →

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