#951CA9#951CA9

#951CA9 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.216 H 321.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#951CA9
RGBrgb(149, 28, 169)
HSLhsl(291, 72%, 39%)
HSVhsv(291, 83%, 66%)
CMYKcmyk(11.8%, 83.4%, 0%, 33.7%)
CIE-LABlab(38.00, 64.51, -48.24)
CIE-LCHlch(38.00, 80.55, 323.21°)
OKLaboklab(49.43% 0.1686 -0.1353)
OKLCHoklch(49.43% 0.216 321.2)
XYZxyz(19.9703, 10.0858, 38.4233)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951CA9 #30A91C
analogous
#4E1CA9 #951CA9 #A91C76
triadic
#951CA9 #A9951C #1CA995
tetradic
#951CA9 #A94E1C #30A91C #1C76A9
square
#951CA9 #A94E1C #30A91C #1C76A9
split-complementary
#951CA9 #76A91C #1CA94E
monochromatic
#380B40 #671374 #951CA9 #C227DB #D15BE4

Accessibility & contrast

On white

6.96
#951CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#951CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #951CA9
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951CA9#FFFFFF#000000##FFFFFF
##951CA91.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#305EA6
Tritanopia (blue-blind)
#963C65
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #951ca9;
/* rgb */ color: rgb(149, 28, 169);
/* oklch */ color: oklch(49.4% 0.216 321.2);
Tailwind
colors: {
  custom: {
    50: '#b86ac3',
    500: '#951ca9',
    950: '#000000',
  },
}
SCSS
$custom: #951ca9;
$custom-light: #b86ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#951ca9",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 291.489,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49432,
    "c": 0.21622,
    "h": 321.2
  },
  "luminance": 0.10085
}

Semantic roles & 50–950 ramp

primary
#951CA9
secondary
#69C859
accent
#EE3953
background
#FBF6FC
surface
#F7ECF8
border
#D0C7D1
text
#120713
muted
#817A82

Preview Lab

Preview with #951CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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