#951C7D#951C7D

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

Color values

HEX#951C7D
RGBrgb(149, 28, 125)
HSLhsl(312, 68%, 35%)
HSVhsv(312, 81%, 58%)
CMYKcmyk(0%, 81.2%, 16.1%, 41.6%)
CIE-LABlab(35.40, 57.42, -25.45)
CIE-LCHlch(35.40, 62.81, 336.09°)
OKLaboklab(46.76% 0.1701 -0.0692)
OKLCHoklch(46.76% 0.184 337.9)
XYZxyz(16.5117, 8.7024, 20.2082)
Luminance0.0870 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C7D #1C9534
analogous
#711C95 #951C7D #951C40
triadic
#951C7D #7D951C #1C7D95
tetradic
#951C7D #95711C #1C9534 #1C4095
square
#951C7D #95711C #1C9534 #1C4095
split-complementary
#951C7D #40951C #1C9571
monochromatic
#2E0927 #611252 #951C7D #C926A8 #DE4EC1

Accessibility & contrast

On white

7.66
#951C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951C7D
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C7D#FFFFFF#000000##FFFFFF
##951C7D1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22477F
Deuteranopia (green-blind)
#4D5A7A
Tritanopia (blue-blind)
#9E244C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951c7d;
/* rgb */ color: rgb(149, 28, 125);
/* oklch */ color: oklch(46.8% 0.184 337.9);
Tailwind
colors: {
  custom: {
    50: '#b868a3',
    500: '#951c7d',
    950: '#000000',
  },
}
SCSS
$custom: #951c7d;
$custom-light: #b868a3;
$custom-dark: #000000;
JSON
{
  "hex": "#951c7d",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 311.901,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4676,
    "c": 0.18363,
    "h": 337.9
  },
  "luminance": 0.08701
}

Semantic roles & 50–950 ramp

primary
#951C7D
secondary
#4DC064
accent
#EB5F3D
background
#FBF6FA
surface
#F7EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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