#951EA6#951EA6

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

Color values

HEX#951EA6
RGBrgb(149, 30, 166)
HSLhsl(293, 69%, 38%)
HSVhsv(293, 82%, 65%)
CMYKcmyk(10.2%, 81.9%, 0%, 34.9%)
CIE-LABlab(37.97, 63.47, -46.48)
CIE-LCHlch(37.97, 78.66, 323.78°)
OKLaboklab(49.35% 0.1677 -0.1302)
OKLCHoklch(49.35% 0.212 322.2)
XYZxyz(19.7409, 10.0725, 36.9734)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951EA6 #2FA61E
analogous
#511EA6 #951EA6 #A61E73
triadic
#951EA6 #A6951E #1EA695
tetradic
#951EA6 #A6511E #2FA61E #1E73A6
square
#951EA6 #A6511E #2FA61E #1E73A6
split-complementary
#951EA6 #73A61E #1EA651
monochromatic
#380B3E #661572 #951EA6 #C229D8 #D15DE2

Accessibility & contrast

On white

6.97
#951EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#951EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #951EA6
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951EA6#FFFFFF#000000##FFFFFF
##951EA61.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AA
Deuteranopia (green-blind)
#345EA3
Tritanopia (blue-blind)
#973C64
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #951ea6;
/* rgb */ color: rgb(149, 30, 166);
/* oklch */ color: oklch(49.4% 0.212 322.2);
Tailwind
colors: {
  custom: {
    50: '#b86bc1',
    500: '#951ea6',
    950: '#000000',
  },
}
SCSS
$custom: #951ea6;
$custom-light: #b86bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#951ea6",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 292.5,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49353,
    "c": 0.21229,
    "h": 322.2
  },
  "luminance": 0.10071
}

Semantic roles & 50–950 ramp

primary
#951EA6
secondary
#67C65A
accent
#EC3C52
background
#FBF6FB
surface
#F7ECF7
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #951EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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