#951F7D#951F7D

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

Color values

HEX#951F7D
RGBrgb(149, 31, 125)
HSLhsl(312, 66%, 35%)
HSVhsv(312, 79%, 58%)
CMYKcmyk(0%, 79.2%, 16.1%, 41.6%)
CIE-LABlab(35.70, 56.58, -25.00)
CIE-LCHlch(35.70, 61.85, 336.16°)
OKLaboklab(46.97% 0.1676 -0.0679)
OKLCHoklch(46.97% 0.181 337.9)
XYZxyz(16.5865, 8.8518, 20.2331)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F7D #1F9537
analogous
#721F95 #951F7D #951F42
triadic
#951F7D #7D951F #1F7D95
tetradic
#951F7D #95721F #1F9537 #1F4295
square
#951F7D #95721F #1F9537 #1F4295
split-complementary
#951F7D #42951F #1F9572
monochromatic
#300A28 #621453 #951F7D #C82AA8 #DB53C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##951F7D#FFFFFF#000000##FFFFFF
##951F7D1.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)
#25487F
Deuteranopia (green-blind)
#4E5A7A
Tritanopia (blue-blind)
#9E264C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951f7d;
/* rgb */ color: rgb(149, 31, 125);
/* oklch */ color: oklch(47.0% 0.181 337.9);
Tailwind
colors: {
  custom: {
    50: '#b869a3',
    500: '#951f7d',
    950: '#000000',
  },
}
SCSS
$custom: #951f7d;
$custom-light: #b869a3;
$custom-dark: #000000;
JSON
{
  "hex": "#951f7d",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 125
  },
  "hsl": {
    "h": 312.203,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4697,
    "c": 0.18079,
    "h": 337.9
  },
  "luminance": 0.0885
}

Semantic roles & 50–950 ramp

primary
#951F7D
secondary
#51BF67
accent
#E9623F
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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