#951E9D#951E9D

#951E9D is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.205 H 325.2°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#951E9D
RGBrgb(149, 30, 157)
HSLhsl(296, 68%, 37%)
HSVhsv(296, 81%, 62%)
CMYKcmyk(5.1%, 80.9%, 0%, 38.4%)
CIE-LABlab(37.40, 61.91, -41.98)
CIE-LCHlch(37.40, 74.80, 325.86°)
OKLaboklab(48.76% 0.1686 -0.117)
OKLCHoklch(48.76% 0.205 325.2)
XYZxyz(18.9441, 9.7537, 32.7766)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E9D #269D1E
analogous
#551E9D #951E9D #9D1E66
triadic
#951E9D #9D951E #1E9D95
tetradic
#951E9D #9D551E #269D1E #1E669D
square
#951E9D #9D551E #269D1E #1E669D
split-complementary
#951E9D #669D1E #1E9D55
monochromatic
#330A36 #64146A #951E9D #C628D0 #D657DF

Accessibility & contrast

On white

7.12
#951E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#951E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951E9D
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951E9D#FFFFFF#000000##FFFFFF
##951E9D1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#3C5D9A
Tritanopia (blue-blind)
#98375E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #951e9d;
/* rgb */ color: rgb(149, 30, 157);
/* oklch */ color: oklch(48.8% 0.205 325.2);
Tailwind
colors: {
  custom: {
    50: '#b86aba',
    500: '#951e9d',
    950: '#000000',
  },
}
SCSS
$custom: #951e9d;
$custom-light: #b86aba;
$custom-dark: #000000;
JSON
{
  "hex": "#951e9d",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 296.22,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48762,
    "c": 0.20526,
    "h": 325.2
  },
  "luminance": 0.09752
}

Semantic roles & 50–950 ramp

primary
#951E9D
secondary
#5BC254
accent
#EB3D48
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #951E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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