#951B7D#951B7D

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

Color values

HEX#951B7D
RGBrgb(149, 27, 125)
HSLhsl(312, 69%, 35%)
HSVhsv(312, 82%, 58%)
CMYKcmyk(0%, 81.9%, 16.1%, 41.6%)
CIE-LABlab(35.31, 57.68, -25.60)
CIE-LCHlch(35.31, 63.11, 336.07°)
OKLaboklab(46.69% 0.1709 -0.0696)
OKLCHoklch(46.69% 0.185 337.8)
XYZxyz(16.4884, 8.6557, 20.2004)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B7D #1B9533
analogous
#701B95 #951B7D #951B40
triadic
#951B7D #7D951B #1B7D95
tetradic
#951B7D #95701B #1B9533 #1B4095
square
#951B7D #95701B #1B9533 #1B4095
split-complementary
#951B7D #40951B #1B9570
monochromatic
#2D0826 #611252 #951B7D #C924A8 #DF4CC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##951B7D#FFFFFF#000000##FFFFFF
##951B7D1.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)
#214780
Deuteranopia (green-blind)
#4C5A7A
Tritanopia (blue-blind)
#9E234C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951b7d;
/* rgb */ color: rgb(149, 27, 125);
/* oklch */ color: oklch(46.7% 0.185 337.8);
Tailwind
colors: {
  custom: {
    50: '#b868a3',
    500: '#951b7d',
    950: '#000000',
  },
}
SCSS
$custom: #951b7d;
$custom-light: #b868a3;
$custom-dark: #000000;
JSON
{
  "hex": "#951b7d",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 311.803,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46694,
    "c": 0.18451,
    "h": 337.8
  },
  "luminance": 0.08654
}

Semantic roles & 50–950 ramp

primary
#951B7D
secondary
#4BC162
accent
#EC5E3C
background
#FBF6FA
surface
#F7EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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