#951B7F#951B7F

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

Color values

HEX#951B7F
RGBrgb(149, 27, 127)
HSLhsl(311, 69%, 35%)
HSVhsv(311, 82%, 58%)
CMYKcmyk(0%, 81.9%, 14.8%, 41.6%)
CIE-LABlab(35.41, 57.97, -26.69)
CIE-LCHlch(35.41, 63.82, 335.28°)
OKLaboklab(46.8% 0.1711 -0.0727)
OKLCHoklch(46.8% 0.186 337)
XYZxyz(16.6175, 8.7073, 20.8801)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B7F #1B9531
analogous
#6E1B95 #951B7F #951B42
triadic
#951B7F #7F951B #1B7F95
tetradic
#951B7F #956E1B #1B9531 #1B4295
square
#951B7F #956E1B #1B9531 #1B4295
split-complementary
#951B7F #42951B #1B956E
monochromatic
#2D0827 #611253 #951B7F #C924AB #DF4CC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##951B7F#FFFFFF#000000##FFFFFF
##951B7F1.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)
#1F4882
Deuteranopia (green-blind)
#4C5A7C
Tritanopia (blue-blind)
#9D244D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951b7f;
/* rgb */ color: rgb(149, 27, 127);
/* oklch */ color: oklch(46.8% 0.186 337.0);
Tailwind
colors: {
  custom: {
    50: '#b868a4',
    500: '#951b7f',
    950: '#000000',
  },
}
SCSS
$custom: #951b7f;
$custom-light: #b868a4;
$custom-dark: #000000;
JSON
{
  "hex": "#951b7f",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 310.82,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.468,
    "c": 0.18587,
    "h": 337
  },
  "luminance": 0.08706
}

Semantic roles & 50–950 ramp

primary
#951B7F
secondary
#4BC160
accent
#EC5B3C
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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