#951E91#951E91

#951E91 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.196 H 329.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#951E91
RGBrgb(149, 30, 145)
HSLhsl(302, 66%, 35%)
HSVhsv(302, 80%, 58%)
CMYKcmyk(0%, 79.9%, 2.7%, 41.6%)
CIE-LABlab(36.68, 59.92, -35.82)
CIE-LCHlch(36.68, 69.81, 329.13°)
OKLaboklab(48.02% 0.1692 -0.0991)
OKLCHoklch(48.02% 0.196 329.6)
XYZxyz(17.9694, 9.3639, 27.6436)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E91 #1E9522
analogous
#5E1E95 #951E91 #951E55
triadic
#951E91 #91951E #1E9195
tetradic
#951E91 #955E1E #1E9522 #1E5595
square
#951E91 #955E1E #1E9522 #1E5595
split-complementary
#951E91 #55951E #1E955E
monochromatic
#2F092E #62145F #951E91 #C828C3 #DC51D7

Accessibility & contrast

On white

7.31
#951E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#951E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951E91
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951E91#FFFFFF#000000##FFFFFF
##951E911.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054C94
Deuteranopia (green-blind)
#445C8E
Tritanopia (blue-blind)
#9B3158
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #951e91;
/* rgb */ color: rgb(149, 30, 145);
/* oklch */ color: oklch(48.0% 0.196 329.6);
Tailwind
colors: {
  custom: {
    50: '#b86ab2',
    500: '#951e91',
    950: '#000000',
  },
}
SCSS
$custom: #951e91;
$custom-light: #b86ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#951e91",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 145
  },
  "hsl": {
    "h": 302.017,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48019,
    "c": 0.19611,
    "h": 329.6
  },
  "luminance": 0.09362
}

Semantic roles & 50–950 ramp

primary
#951E91
secondary
#50BF53
accent
#E9443E
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #951E91

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

Preview Lab → · Contrast checker → · Palette generator →

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