#951B78#951B78

#951B78 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.4% C 0.181 H 340.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#951B78
RGBrgb(149, 27, 120)
HSLhsl(314, 69%, 35%)
HSVhsv(314, 82%, 58%)
CMYKcmyk(0%, 81.9%, 19.5%, 41.6%)
CIE-LABlab(35.07, 56.98, -22.85)
CIE-LCHlch(35.07, 61.39, 338.15°)
OKLaboklab(46.44% 0.1704 -0.0618)
OKLCHoklch(46.44% 0.181 340.1)
XYZxyz(16.1770, 8.5312, 18.5604)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B78 #1B9538
analogous
#751B95 #951B78 #951B3B
triadic
#951B78 #78951B #1B7895
tetradic
#951B78 #95751B #1B9538 #1B3B95
square
#951B78 #95751B #1B9538 #1B3B95
split-complementary
#951B78 #3B951B #1B9575
monochromatic
#2D0825 #61124E #951B78 #C924A2 #DF4CBC

Accessibility & contrast

On white

7.76
#951B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#951B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951B78
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B78#FFFFFF#000000##FFFFFF
##951B781.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25467A
Deuteranopia (green-blind)
#4E5975
Tritanopia (blue-blind)
#9E2049
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #951b78;
/* rgb */ color: rgb(149, 27, 120);
/* oklch */ color: oklch(46.4% 0.181 340.1);
Tailwind
colors: {
  custom: {
    50: '#b8679f',
    500: '#951b78',
    950: '#000000',
  },
}
SCSS
$custom: #951b78;
$custom-light: #b8679f;
$custom-dark: #000000;
JSON
{
  "hex": "#951b78",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 120
  },
  "hsl": {
    "h": 314.262,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46436,
    "c": 0.18122,
    "h": 340.1
  },
  "luminance": 0.08529
}

Semantic roles & 50–950 ramp

primary
#951B78
secondary
#4BC167
accent
#EC663C
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951B78

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

Preview Lab → · Contrast checker → · Palette generator →

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