#951A7C#951A7C

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

Color values

HEX#951A7C
RGBrgb(149, 26, 124)
HSLhsl(312, 70%, 34%)
HSVhsv(312, 83%, 58%)
CMYKcmyk(0%, 82.6%, 16.8%, 41.6%)
CIE-LABlab(35.17, 57.80, -25.19)
CIE-LCHlch(35.17, 63.05, 336.45°)
OKLaboklab(46.58% 0.1716 -0.0684)
OKLCHoklch(46.58% 0.185 338.3)
XYZxyz(16.4023, 8.5852, 19.8582)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951A7C #1A9533
analogous
#711A95 #951A7C #951A3F
triadic
#951A7C #7C951A #1A7C95
tetradic
#951A7C #95711A #1A9533 #1A3F95
square
#951A7C #95711A #1A9533 #1A3F95
split-complementary
#951A7C #3F951A #1A9571
monochromatic
#2D0825 #611151 #951A7C #C923A7 #DF4AC1

Accessibility & contrast

On white

7.73
#951A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951A7C
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951A7C#FFFFFF#000000##FFFFFF
##951A7C1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21477E
Deuteranopia (green-blind)
#4D5979
Tritanopia (blue-blind)
#9E224B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951a7c;
/* rgb */ color: rgb(149, 26, 124);
/* oklch */ color: oklch(46.6% 0.185 338.3);
Tailwind
colors: {
  custom: {
    50: '#b867a2',
    500: '#951a7c',
    950: '#000000',
  },
}
SCSS
$custom: #951a7c;
$custom-light: #b867a2;
$custom-dark: #000000;
JSON
{
  "hex": "#951a7c",
  "rgb": {
    "r": 149,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 312.195,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46577,
    "c": 0.18472,
    "h": 338.3
  },
  "luminance": 0.08584
}

Semantic roles & 50–950 ramp

primary
#951A7C
secondary
#4AC162
accent
#ED5F3B
background
#FBF6FA
surface
#F7EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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