#951F78#951F78

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

Color values

HEX#951F78
RGBrgb(149, 31, 120)
HSLhsl(315, 66%, 35%)
HSVhsv(315, 79%, 58%)
CMYKcmyk(0%, 79.2%, 19.5%, 41.6%)
CIE-LABlab(35.45, 55.87, -22.24)
CIE-LCHlch(35.45, 60.13, 338.29°)
OKLaboklab(46.72% 0.167 -0.0601)
OKLCHoklch(46.72% 0.177 340.2)
XYZxyz(16.2751, 8.7273, 18.5931)
Luminance0.0873 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F78 #1F953C
analogous
#771F95 #951F78 #951F3D
triadic
#951F78 #78951F #1F7895
tetradic
#951F78 #95771F #1F953C #1F3D95
square
#951F78 #95771F #1F953C #1F3D95
split-complementary
#951F78 #3D951F #1F9577
monochromatic
#300A26 #62144F #951F78 #C82AA1 #DB53BA

Accessibility & contrast

On white

7.65
#951F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#951F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F78
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F78#FFFFFF#000000##FFFFFF
##951F781.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29477A
Deuteranopia (green-blind)
#505A75
Tritanopia (blue-blind)
#9E234A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951f78;
/* rgb */ color: rgb(149, 31, 120);
/* oklch */ color: oklch(46.7% 0.177 340.2);
Tailwind
colors: {
  custom: {
    50: '#b8699f',
    500: '#951f78',
    950: '#000000',
  },
}
SCSS
$custom: #951f78;
$custom-light: #b8699f;
$custom-dark: #000000;
JSON
{
  "hex": "#951f78",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 314.746,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46715,
    "c": 0.17745,
    "h": 340.2
  },
  "luminance": 0.08726
}

Semantic roles & 50–950 ramp

primary
#951F78
secondary
#51BF6C
accent
#E9693F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951F78

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

Preview Lab → · Contrast checker → · Palette generator →

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