#951E7F#951E7F

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

Color values

HEX#951E7F
RGBrgb(149, 30, 127)
HSLhsl(311, 66%, 35%)
HSVhsv(311, 80%, 58%)
CMYKcmyk(0%, 79.9%, 14.8%, 41.6%)
CIE-LABlab(35.70, 57.15, -26.24)
CIE-LCHlch(35.70, 62.89, 335.34°)
OKLaboklab(47% 0.1686 -0.0715)
OKLCHoklch(47% 0.183 337)
XYZxyz(16.6898, 8.8520, 20.9042)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E7F #1E9534
analogous
#6F1E95 #951E7F #951E44
triadic
#951E7F #7F951E #1E7F95
tetradic
#951E7F #956F1E #1E9534 #1E4495
square
#951E7F #956F1E #1E9534 #1E4495
split-complementary
#951E7F #44951E #1E956F
monochromatic
#2F0928 #621454 #951E7F #C828AA #DC51C2

Accessibility & contrast

On white

7.58
#951E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#951E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951E7F
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951E7F#FFFFFF#000000##FFFFFF
##951E7F1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #951e7f;
/* rgb */ color: rgb(149, 30, 127);
/* oklch */ color: oklch(47.0% 0.183 337.0);
Tailwind
colors: {
  custom: {
    50: '#b869a4',
    500: '#951e7f',
    950: '#000000',
  },
}
SCSS
$custom: #951e7f;
$custom-light: #b869a4;
$custom-dark: #000000;
JSON
{
  "hex": "#951e7f",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 311.092,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47003,
    "c": 0.18314,
    "h": 337
  },
  "luminance": 0.0885
}

Semantic roles & 50–950 ramp

primary
#951E7F
secondary
#50BF64
accent
#E95E3E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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