#951E8E#951E8E

#951E8E is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.194 H 330.8°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#951E8E
RGBrgb(149, 30, 142)
HSLhsl(304, 66%, 35%)
HSVhsv(304, 80%, 58%)
CMYKcmyk(0%, 79.9%, 4.7%, 41.6%)
CIE-LABlab(36.50, 59.44, -34.25)
CIE-LCHlch(36.50, 68.60, 330.05°)
OKLaboklab(47.84% 0.1692 -0.0946)
OKLCHoklch(47.84% 0.194 330.8)
XYZxyz(17.7412, 9.2726, 26.4413)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E8E #1E9525
analogous
#601E95 #951E8E #951E53
triadic
#951E8E #8E951E #1E8E95
tetradic
#951E8E #95601E #1E9525 #1E5395
square
#951E8E #95601E #1E9525 #1E5395
split-complementary
#951E8E #53951E #1E9560
monochromatic
#2F092D #62145D #951E8E #C828BF #DC51D4

Accessibility & contrast

On white

7.36
#951E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#951E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951E8E
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951E8E#FFFFFF#000000##FFFFFF
##951E8E1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4C91
Deuteranopia (green-blind)
#455B8B
Tritanopia (blue-blind)
#9B2F56
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #951e8e;
/* rgb */ color: rgb(149, 30, 142);
/* oklch */ color: oklch(47.8% 0.194 330.8);
Tailwind
colors: {
  custom: {
    50: '#b869af',
    500: '#951e8e',
    950: '#000000',
  },
}
SCSS
$custom: #951e8e;
$custom-light: #b869af;
$custom-dark: #000000;
JSON
{
  "hex": "#951e8e",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 303.529,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47841,
    "c": 0.19387,
    "h": 330.8
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#951E8E
secondary
#50BF56
accent
#E9483E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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