#952DAB#952DAB

#952DAB is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.8% C 0.202 H 320.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#952DAB
RGBrgb(149, 45, 171)
HSLhsl(290, 58%, 42%)
HSVhsv(290, 74%, 67%)
CMYKcmyk(12.9%, 73.7%, 0%, 32.9%)
CIE-LABlab(39.93, 59.67, -46.33)
CIE-LCHlch(39.93, 75.54, 322.18°)
OKLaboklab(50.84% 0.1546 -0.1298)
OKLCHoklch(50.84% 0.202 320)
XYZxyz(20.6826, 11.2077, 39.5940)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952DAB #43AB2D
analogous
#562DAB #952DAB #AB2D82
triadic
#952DAB #AB952D #2DAB95
tetradic
#952DAB #AB562D #43AB2D #2D82AB
square
#952DAB #AB562D #43AB2D #2D82AB
split-complementary
#952DAB #82AB2D #2DAB56
monochromatic
#41144A #6B207B #952DAB #B747CE #CA77DB

Accessibility & contrast

On white

6.48
#952DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#952DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952DAB
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952DAB#FFFFFF#000000##FFFFFF
##952DAB1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#3862A8
Tritanopia (blue-blind)
#95466A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #952dab;
/* rgb */ color: rgb(149, 45, 171);
/* oklch */ color: oklch(50.8% 0.202 320.0);
Tailwind
colors: {
  custom: {
    50: '#b871c5',
    500: '#952dab',
    950: '#000000',
  },
}
SCSS
$custom: #952dab;
$custom-light: #b871c5;
$custom-dark: #000000;
JSON
{
  "hex": "#952dab",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 289.524,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50841,
    "c": 0.20189,
    "h": 320
  },
  "luminance": 0.11207
}

Semantic roles & 50–950 ramp

primary
#952DAB
secondary
#7FC371
accent
#E24661
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952DAB

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

Preview Lab → · Contrast checker → · Palette generator →

#952DAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva