#951B81#951B81

#951B81 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.187 H 336.1°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#951B81
RGBrgb(149, 27, 129)
HSLhsl(310, 69%, 35%)
HSVhsv(310, 82%, 58%)
CMYKcmyk(0%, 81.9%, 13.4%, 41.6%)
CIE-LABlab(35.52, 58.26, -27.77)
CIE-LCHlch(35.52, 64.54, 334.51°)
OKLaboklab(46.91% 0.1712 -0.0758)
OKLCHoklch(46.91% 0.187 336.1)
XYZxyz(16.7491, 8.7600, 21.5734)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B81 #1B952F
analogous
#6C1B95 #951B81 #951B44
triadic
#951B81 #81951B #1B8195
tetradic
#951B81 #956C1B #1B952F #1B4495
square
#951B81 #956C1B #1B952F #1B4495
split-complementary
#951B81 #44951B #1B956C
monochromatic
#2D0827 #611254 #951B81 #C924AE #DF4CC6

Accessibility & contrast

On white

7.63
#951B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#951B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951B81
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B81#FFFFFF#000000##FFFFFF
##951B811.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4884
Deuteranopia (green-blind)
#4B5A7E
Tritanopia (blue-blind)
#9D264E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951b81;
/* rgb */ color: rgb(149, 27, 129);
/* oklch */ color: oklch(46.9% 0.187 336.1);
Tailwind
colors: {
  custom: {
    50: '#b868a6',
    500: '#951b81',
    950: '#000000',
  },
}
SCSS
$custom: #951b81;
$custom-light: #b868a6;
$custom-dark: #000000;
JSON
{
  "hex": "#951b81",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 129
  },
  "hsl": {
    "h": 309.836,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46908,
    "c": 0.18724,
    "h": 336.1
  },
  "luminance": 0.08758
}

Semantic roles & 50–950 ramp

primary
#951B81
secondary
#4BC15E
accent
#EC593C
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951B81

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

Preview Lab → · Contrast checker → · Palette generator →

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