#951D7F#951D7F

#951D7F is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.9% C 0.184 H 337.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#951D7F
RGBrgb(149, 29, 127)
HSLhsl(311, 67%, 35%)
HSVhsv(311, 81%, 58%)
CMYKcmyk(0%, 80.5%, 14.8%, 41.6%)
CIE-LABlab(35.60, 57.43, -26.40)
CIE-LCHlch(35.60, 63.21, 335.32°)
OKLaboklab(46.93% 0.1694 -0.0719)
OKLCHoklch(46.93% 0.184 337)
XYZxyz(16.6649, 8.8022, 20.8959)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951D7F #1D9533
analogous
#6F1D95 #951D7F #951D43
triadic
#951D7F #7F951D #1D7F95
tetradic
#951D7F #956F1D #1D9533 #1D4395
square
#951D7F #956F1D #1D9533 #1D4395
split-complementary
#951D7F #43951D #1D956F
monochromatic
#2F0928 #621353 #951D7F #C827AB #DD50C3

Accessibility & contrast

On white

7.61
#951D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#951D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951D7F
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951D7F#FFFFFF#000000##FFFFFF
##951D7F1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214882
Deuteranopia (green-blind)
#4C5A7C
Tritanopia (blue-blind)
#9D264D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951d7f;
/* rgb */ color: rgb(149, 29, 127);
/* oklch */ color: oklch(46.9% 0.184 337.0);
Tailwind
colors: {
  custom: {
    50: '#b868a4',
    500: '#951d7f',
    950: '#000000',
  },
}
SCSS
$custom: #951d7f;
$custom-light: #b868a4;
$custom-dark: #000000;
JSON
{
  "hex": "#951d7f",
  "rgb": {
    "r": 149,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 311,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46933,
    "c": 0.18407,
    "h": 337
  },
  "luminance": 0.08801
}

Semantic roles & 50–950 ramp

primary
#951D7F
secondary
#4EC063
accent
#EA5D3D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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