#951E7B#951E7B

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

Color values

HEX#951E7B
RGBrgb(149, 30, 123)
HSLhsl(313, 66%, 35%)
HSVhsv(313, 80%, 58%)
CMYKcmyk(0%, 79.9%, 17.4%, 41.6%)
CIE-LABlab(35.50, 56.58, -24.06)
CIE-LCHlch(35.50, 61.48, 336.97°)
OKLaboklab(46.79% 0.1682 -0.0652)
OKLCHoklch(46.79% 0.18 338.8)
XYZxyz(16.4343, 8.7498, 19.5584)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E7B #1E9538
analogous
#731E95 #951E7B #951E40
triadic
#951E7B #7B951E #1E7B95
tetradic
#951E7B #95731E #1E9538 #1E4095
square
#951E7B #95731E #1E9538 #1E4095
split-complementary
#951E7B #40951E #1E9573
monochromatic
#2F0927 #621451 #951E7B #C828A5 #DC51BE

Accessibility & contrast

On white

7.64
#951E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951E7B
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951E7B#FFFFFF#000000##FFFFFF
##951E7B1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25487D
Deuteranopia (green-blind)
#4E5A78
Tritanopia (blue-blind)
#9E244B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951e7b;
/* rgb */ color: rgb(149, 30, 123);
/* oklch */ color: oklch(46.8% 0.180 338.8);
Tailwind
colors: {
  custom: {
    50: '#b869a1',
    500: '#951e7b',
    950: '#000000',
  },
}
SCSS
$custom: #951e7b;
$custom-light: #b869a1;
$custom-dark: #000000;
JSON
{
  "hex": "#951e7b",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 313.109,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46795,
    "c": 0.18041,
    "h": 338.8
  },
  "luminance": 0.08748
}

Semantic roles & 50–950 ramp

primary
#951E7B
secondary
#50BF68
accent
#E9643E
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #951E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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