#951B7B#951B7B

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

Color values

HEX#951B7B
RGBrgb(149, 27, 123)
HSLhsl(313, 69%, 35%)
HSVhsv(313, 82%, 58%)
CMYKcmyk(0%, 81.9%, 17.4%, 41.6%)
CIE-LABlab(35.21, 57.40, -24.50)
CIE-LCHlch(35.21, 62.41, 336.88°)
OKLaboklab(46.59% 0.1707 -0.0665)
OKLCHoklch(46.59% 0.183 338.7)
XYZxyz(16.3619, 8.6051, 19.5343)
Luminance0.0860 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B7B #1B9535
analogous
#721B95 #951B7B #951B3E
triadic
#951B7B #7B951B #1B7B95
tetradic
#951B7B #95721B #1B9535 #1B3E95
square
#951B7B #95721B #1B9535 #1B3E95
split-complementary
#951B7B #3E951B #1B9572
monochromatic
#2D0825 #611250 #951B7B #C924A6 #DF4CBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##951B7B#FFFFFF#000000##FFFFFF
##951B7B1.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)
#23477D
Deuteranopia (green-blind)
#4D5978
Tritanopia (blue-blind)
#9E224A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951b7b;
/* rgb */ color: rgb(149, 27, 123);
/* oklch */ color: oklch(46.6% 0.183 338.7);
Tailwind
colors: {
  custom: {
    50: '#b868a1',
    500: '#951b7b',
    950: '#000000',
  },
}
SCSS
$custom: #951b7b;
$custom-light: #b868a1;
$custom-dark: #000000;
JSON
{
  "hex": "#951b7b",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 312.787,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46589,
    "c": 0.18318,
    "h": 338.7
  },
  "luminance": 0.08603
}

Semantic roles & 50–950 ramp

primary
#951B7B
secondary
#4BC164
accent
#EC613C
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #951B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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