#951C9E#951C9E

#951C9E is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.7% C 0.208 H 324.9°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#951C9E
RGBrgb(149, 28, 158)
HSLhsl(296, 70%, 36%)
HSVhsv(296, 82%, 62%)
CMYKcmyk(5.7%, 82.3%, 0%, 38%)
CIE-LABlab(37.28, 62.60, -42.77)
CIE-LCHlch(37.28, 75.81, 325.66°)
OKLaboklab(48.7% 0.17 -0.1193)
OKLCHoklch(48.7% 0.208 324.9)
XYZxyz(18.9808, 9.6900, 33.2117)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C9E #259E1C
analogous
#541C9E #951C9E #9E1C66
triadic
#951C9E #9E951C #1C9E95
tetradic
#951C9E #9E541C #259E1C #1C669E
square
#951C9E #9E541C #259E1C #1C669E
split-complementary
#951C9E #669E1C #1C9E54
monochromatic
#330A36 #64136A #951C9E #C625D2 #D754E1

Accessibility & contrast

On white

7.15
#951C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#951C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951C9E
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C9E#FFFFFF#000000##FFFFFF
##951C9E1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#3A5C9B
Tritanopia (blue-blind)
#98375F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #951c9e;
/* rgb */ color: rgb(149, 28, 158);
/* oklch */ color: oklch(48.7% 0.208 324.9);
Tailwind
colors: {
  custom: {
    50: '#b869bb',
    500: '#951c9e',
    950: '#000000',
  },
}
SCSS
$custom: #951c9e;
$custom-light: #b869bb;
$custom-dark: #000000;
JSON
{
  "hex": "#951c9e",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 158
  },
  "hsl": {
    "h": 295.846,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.487,
    "c": 0.20768,
    "h": 324.9
  },
  "luminance": 0.09689
}

Semantic roles & 50–950 ramp

primary
#951C9E
secondary
#5AC452
accent
#ED3B47
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #951C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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