#951E9F#951E9F

#951E9F is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.9% C 0.207 H 324.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#951E9F
RGBrgb(149, 30, 159)
HSLhsl(295, 68%, 37%)
HSVhsv(295, 81%, 62%)
CMYKcmyk(6.3%, 81.1%, 0%, 37.6%)
CIE-LABlab(37.52, 62.25, -42.98)
CIE-LCHlch(37.52, 75.65, 325.37°)
OKLaboklab(48.89% 0.1684 -0.12)
OKLCHoklch(48.89% 0.207 324.5)
XYZxyz(19.1162, 9.8226, 33.6832)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E9F #289F1E
analogous
#551E9F #951E9F #9F1E69
triadic
#951E9F #9F951E #1E9F95
tetradic
#951E9F #9F551E #289F1E #1E699F
square
#951E9F #9F551E #289F1E #1E699F
split-complementary
#951E9F #699F1E #1E9F55
monochromatic
#350B38 #65146C #951E9F #C528D2 #D558DF

Accessibility & contrast

On white

7.08
#951E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#951E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951E9F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951E9F#FFFFFF#000000##FFFFFF
##951E9F1.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#3A5D9C
Tritanopia (blue-blind)
#983860
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #951e9f;
/* rgb */ color: rgb(149, 30, 159);
/* oklch */ color: oklch(48.9% 0.207 324.5);
Tailwind
colors: {
  custom: {
    50: '#b86abc',
    500: '#951e9f',
    950: '#000000',
  },
}
SCSS
$custom: #951e9f;
$custom-light: #b86abc;
$custom-dark: #000000;
JSON
{
  "hex": "#951e9f",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 295.349,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48891,
    "c": 0.2068,
    "h": 324.5
  },
  "luminance": 0.09821
}

Semantic roles & 50–950 ramp

primary
#951E9F
secondary
#5EC356
accent
#EB3D4A
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #951E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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