#951C81#951C81

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

Color values

HEX#951C81
RGBrgb(149, 28, 129)
HSLhsl(310, 68%, 35%)
HSVhsv(310, 81%, 58%)
CMYKcmyk(0%, 81.2%, 13.4%, 41.6%)
CIE-LABlab(35.61, 58.00, -27.63)
CIE-LCHlch(35.61, 64.24, 334.53°)
OKLaboklab(46.97% 0.1704 -0.0754)
OKLCHoklch(46.97% 0.186 336.1)
XYZxyz(16.7724, 8.8066, 21.5811)
Luminance0.0881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C81 #1C9530
analogous
#6C1C95 #951C81 #951C45
triadic
#951C81 #81951C #1C8195
tetradic
#951C81 #956C1C #1C9530 #1C4595
square
#951C81 #956C1C #1C9530 #1C4595
split-complementary
#951C81 #45951C #1C956C
monochromatic
#2E0928 #611254 #951C81 #C926AE #DE4EC6

Accessibility & contrast

On white

7.61
#951C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#951C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951C81
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C81#FFFFFF#000000##FFFFFF
##951C811.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #951c81;
/* rgb */ color: rgb(149, 28, 129);
/* oklch */ color: oklch(47.0% 0.186 336.1);
Tailwind
colors: {
  custom: {
    50: '#b868a6',
    500: '#951c81',
    950: '#000000',
  },
}
SCSS
$custom: #951c81;
$custom-light: #b868a6;
$custom-dark: #000000;
JSON
{
  "hex": "#951c81",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 309.917,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46973,
    "c": 0.18636,
    "h": 336.1
  },
  "luminance": 0.08805
}

Semantic roles & 50–950 ramp

primary
#951C81
secondary
#4DC060
accent
#EB593D
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951C81

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

Preview Lab → · Contrast checker → · Palette generator →

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