#951CB4#951CB4

#951CB4 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.2% C 0.225 H 317.8°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#951CB4
RGBrgb(149, 28, 180)
HSLhsl(288, 73%, 41%)
HSVhsv(288, 84%, 71%)
CMYKcmyk(17.2%, 84.4%, 0%, 29.4%)
CIE-LABlab(38.75, 66.49, -53.56)
CIE-LCHlch(38.75, 85.38, 321.14°)
OKLaboklab(50.2% 0.1668 -0.151)
OKLCHoklch(50.2% 0.225 317.8)
XYZxyz(21.0467, 10.5164, 44.0924)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951CB4 #3BB41C
analogous
#491CB4 #951CB4 #B41C87
triadic
#951CB4 #B4951C #1CB495
tetradic
#951CB4 #B4491C #3BB41C #1C87B4
square
#951CB4 #B4491C #3BB41C #1C87B4
split-complementary
#951CB4 #87B41C #1CB449
monochromatic
#3D0C4A #69147F #951CB4 #BB2FDF #CC64E7

Accessibility & contrast

On white

6.77
#951CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#951CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #951CB4
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951CB4#FFFFFF#000000##FFFFFF
##951CB41.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#225FB1
Tritanopia (blue-blind)
#94426B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #951cb4;
/* rgb */ color: rgb(149, 28, 180);
/* oklch */ color: oklch(50.2% 0.225 317.8);
Tailwind
colors: {
  custom: {
    50: '#b96bcb',
    500: '#951cb4',
    950: '#000000',
  },
}
SCSS
$custom: #951cb4;
$custom-light: #b96bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#951cb4",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 287.763,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50204,
    "c": 0.22494,
    "h": 317.8
  },
  "luminance": 0.10515
}

Semantic roles & 50–950 ramp

primary
#951CB4
secondary
#76CC60
accent
#F0385E
background
#FBF6FC
surface
#F7ECF9
border
#D0C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #951CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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