#952DC6#952DC6

#952DC6 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.7% C 0.226 H 311.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#952DC6
RGBrgb(149, 45, 198)
HSLhsl(281, 63%, 48%)
HSVhsv(281, 77%, 78%)
CMYKcmyk(24.7%, 77.3%, 0%, 22.4%)
CIE-LABlab(41.76, 64.97, -59.27)
CIE-LCHlch(41.76, 87.94, 317.63°)
OKLaboklab(52.72% 0.1508 -0.1678)
OKLCHoklch(52.72% 0.226 311.9)
XYZxyz(23.5240, 12.3442, 54.5586)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952DC6 #5EC62D
analogous
#482DC6 #952DC6 #C62DAB
triadic
#952DC6 #C6952D #2DC695
tetradic
#952DC6 #C6482D #5EC62D #2DABC6
square
#952DC6 #C6482D #5EC62D #2DABC6
split-complementary
#952DC6 #ABC62D #2DC648
monochromatic
#4A1662 #6F2294 #952DC6 #AF57D9 #C789E4

Accessibility & contrast

On white

6.05
#952DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#952DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952DC6
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952DC6#FFFFFF#000000##FFFFFF
##952DC61.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECA
Deuteranopia (green-blind)
#0E64C3
Tritanopia (blue-blind)
#8F5279
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #952dc6;
/* rgb */ color: rgb(149, 45, 198);
/* oklch */ color: oklch(52.7% 0.226 311.9);
Tailwind
colors: {
  custom: {
    50: '#b972d8',
    500: '#952dc6',
    950: '#000000',
  },
}
SCSS
$custom: #952dc6;
$custom-light: #b972d8;
$custom-dark: #000000;
JSON
{
  "hex": "#952dc6",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 198
  },
  "hsl": {
    "h": 280.784,
    "s": 62.963,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52715,
    "c": 0.22564,
    "h": 311.9
  },
  "luminance": 0.12344
}

Semantic roles & 50–950 ramp

primary
#952DC6
secondary
#9ACE81
accent
#E64276
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120915
muted
#817B83

Preview Lab

Preview with #952DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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