#951E7A#951E7A

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

Color values

HEX#951E7A
RGBrgb(149, 30, 122)
HSLhsl(314, 66%, 35%)
HSVhsv(314, 80%, 58%)
CMYKcmyk(0%, 79.9%, 18.1%, 41.6%)
CIE-LABlab(35.45, 56.44, -23.51)
CIE-LCHlch(35.45, 61.14, 337.39°)
OKLaboklab(46.74% 0.1681 -0.0637)
OKLCHoklch(46.74% 0.18 339.3)
XYZxyz(16.3720, 8.7249, 19.2304)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E7A #1E9539
analogous
#741E95 #951E7A #951E3F
triadic
#951E7A #7A951E #1E7A95
tetradic
#951E7A #95741E #1E9539 #1E3F95
square
#951E7A #95741E #1E9539 #1E3F95
split-complementary
#951E7A #3F951E #1E9574
monochromatic
#2F0927 #621450 #951E7A #C828A4 #DC51BD

Accessibility & contrast

On white

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

On black

2.74
#951E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##951E7A#FFFFFF#000000##FFFFFF
##951E7A1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26487C
Deuteranopia (green-blind)
#4F5A77
Tritanopia (blue-blind)
#9E244B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951e7a;
/* rgb */ color: rgb(149, 30, 122);
/* oklch */ color: oklch(46.7% 0.180 339.3);
Tailwind
colors: {
  custom: {
    50: '#b869a0',
    500: '#951e7a',
    950: '#000000',
  },
}
SCSS
$custom: #951e7a;
$custom-light: #b869a0;
$custom-dark: #000000;
JSON
{
  "hex": "#951e7a",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 313.613,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46743,
    "c": 0.17975,
    "h": 339.3
  },
  "luminance": 0.08723
}

Semantic roles & 50–950 ramp

primary
#951E7A
secondary
#50BF69
accent
#E9653E
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #951E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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