#951A7D#951A7D

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

Color values

HEX#951A7D
RGBrgb(149, 26, 125)
HSLhsl(312, 70%, 34%)
HSVhsv(312, 83%, 58%)
CMYKcmyk(0%, 82.6%, 16.1%, 41.6%)
CIE-LABlab(35.22, 57.94, -25.74)
CIE-LCHlch(35.22, 63.40, 336.05°)
OKLaboklab(46.63% 0.1717 -0.07)
OKLCHoklch(46.63% 0.185 337.8)
XYZxyz(16.4659, 8.6106, 20.1929)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951A7D #1A9532
analogous
#701A95 #951A7D #951A40
triadic
#951A7D #7D951A #1A7D95
tetradic
#951A7D #95701A #1A9532 #1A4095
square
#951A7D #95701A #1A9532 #1A4095
split-complementary
#951A7D #40951A #1A9570
monochromatic
#2D0826 #611151 #951A7D #C923A9 #DF4AC2

Accessibility & contrast

On white

7.72
#951A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#951A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951A7D
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951A7D#FFFFFF#000000##FFFFFF
##951A7D1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204780
Deuteranopia (green-blind)
#4C597A
Tritanopia (blue-blind)
#9E224B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951a7d;
/* rgb */ color: rgb(149, 26, 125);
/* oklch */ color: oklch(46.6% 0.185 337.8);
Tailwind
colors: {
  custom: {
    50: '#b867a3',
    500: '#951a7d',
    950: '#000000',
  },
}
SCSS
$custom: #951a7d;
$custom-light: #b867a3;
$custom-dark: #000000;
JSON
{
  "hex": "#951a7d",
  "rgb": {
    "r": 149,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 311.707,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4663,
    "c": 0.18538,
    "h": 337.8
  },
  "luminance": 0.08609
}

Semantic roles & 50–950 ramp

primary
#951A7D
secondary
#4AC161
accent
#ED5E3B
background
#FBF6FA
surface
#F7EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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