#951D9E#951D9E

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

Color values

HEX#951D9E
RGBrgb(149, 29, 158)
HSLhsl(296, 69%, 37%)
HSVhsv(296, 82%, 62%)
CMYKcmyk(5.7%, 81.6%, 0%, 38%)
CIE-LABlab(37.37, 62.34, -42.63)
CIE-LCHlch(37.37, 75.52, 325.64°)
OKLaboklab(48.76% 0.1693 -0.1189)
OKLCHoklch(48.76% 0.207 324.9)
XYZxyz(19.0049, 9.7382, 33.2198)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951D9E #269E1D
analogous
#551D9E #951D9E #9E1D67
triadic
#951D9E #9E951D #1D9E95
tetradic
#951D9E #9E551D #269E1D #1D679E
square
#951D9E #9E551D #269E1D #1D679E
split-complementary
#951D9E #679E1D #1D9E55
monochromatic
#330A37 #64146A #951D9E #C626D2 #D656E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##951D9E#FFFFFF#000000##FFFFFF
##951D9E1.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)
#004FA1
Deuteranopia (green-blind)
#3B5D9B
Tritanopia (blue-blind)
#98375F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #951d9e;
/* rgb */ color: rgb(149, 29, 158);
/* oklch */ color: oklch(48.8% 0.207 324.9);
Tailwind
colors: {
  custom: {
    50: '#b86abb',
    500: '#951d9e',
    950: '#000000',
  },
}
SCSS
$custom: #951d9e;
$custom-light: #b86abb;
$custom-dark: #000000;
JSON
{
  "hex": "#951d9e",
  "rgb": {
    "r": 149,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 295.814,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48762,
    "c": 0.20687,
    "h": 324.9
  },
  "luminance": 0.09737
}

Semantic roles & 50–950 ramp

primary
#951D9E
secondary
#5BC354
accent
#EC3C48
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #951D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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