#951E8A#951E8A

#951E8A is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.191 H 332.4°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#951E8A
RGBrgb(149, 30, 138)
HSLhsl(306, 66%, 35%)
HSVhsv(306, 80%, 58%)
CMYKcmyk(0%, 79.9%, 7.4%, 41.6%)
CIE-LABlab(36.28, 58.81, -32.15)
CIE-LCHlch(36.28, 67.02, 331.34°)
OKLaboklab(47.61% 0.1692 -0.0885)
OKLCHoklch(47.61% 0.191 332.4)
XYZxyz(17.4462, 9.1546, 24.8880)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E8A #1E9529
analogous
#641E95 #951E8A #951E4F
triadic
#951E8A #8A951E #1E8A95
tetradic
#951E8A #95641E #1E9529 #1E4F95
square
#951E8A #95641E #1E9529 #1E4F95
split-complementary
#951E8A #4F951E #1E9564
monochromatic
#2F092C #62145B #951E8A #C828B9 #DC51CF

Accessibility & contrast

On white

7.42
#951E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#951E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951E8A
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951E8A#FFFFFF#000000##FFFFFF
##951E8A1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8D
Deuteranopia (green-blind)
#475B87
Tritanopia (blue-blind)
#9C2D54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951e8a;
/* rgb */ color: rgb(149, 30, 138);
/* oklch */ color: oklch(47.6% 0.191 332.4);
Tailwind
colors: {
  custom: {
    50: '#b869ac',
    500: '#951e8a',
    950: '#000000',
  },
}
SCSS
$custom: #951e8a;
$custom-light: #b869ac;
$custom-dark: #000000;
JSON
{
  "hex": "#951e8a",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 305.546,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47609,
    "c": 0.19093,
    "h": 332.4
  },
  "luminance": 0.09153
}

Semantic roles & 50–950 ramp

primary
#951E8A
secondary
#50BF5A
accent
#E94E3E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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