#951C7B#951C7B

#951C7B is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.7% C 0.182 H 338.7°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#951C7B
RGBrgb(149, 28, 123)
HSLhsl(313, 68%, 35%)
HSVhsv(313, 81%, 58%)
CMYKcmyk(0%, 81.2%, 17.4%, 41.6%)
CIE-LABlab(35.31, 57.13, -24.36)
CIE-LCHlch(35.31, 62.11, 336.91°)
OKLaboklab(46.66% 0.1699 -0.0661)
OKLCHoklch(46.66% 0.182 338.7)
XYZxyz(16.3853, 8.6518, 19.5421)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C7B #1C9536
analogous
#731C95 #951C7B #951C3E
triadic
#951C7B #7B951C #1C7B95
tetradic
#951C7B #95731C #1C9536 #1C3E95
square
#951C7B #95731C #1C9536 #1C3E95
split-complementary
#951C7B #3E951C #1C9573
monochromatic
#2E0926 #611250 #951C7B #C926A6 #DE4EBF

Accessibility & contrast

On white

7.69
#951C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#951C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951C7B
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C7B#FFFFFF#000000##FFFFFF
##951C7B1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #951c7b;
/* rgb */ color: rgb(149, 28, 123);
/* oklch */ color: oklch(46.7% 0.182 338.7);
Tailwind
colors: {
  custom: {
    50: '#b868a1',
    500: '#951c7b',
    950: '#000000',
  },
}
SCSS
$custom: #951c7b;
$custom-light: #b868a1;
$custom-dark: #000000;
JSON
{
  "hex": "#951c7b",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 312.893,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46656,
    "c": 0.18229,
    "h": 338.7
  },
  "luminance": 0.0865
}

Semantic roles & 50–950 ramp

primary
#951C7B
secondary
#4DC065
accent
#EB623D
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #951C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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