#952DC1#952DC1

#952DC1 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.4% C 0.221 H 313.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#952DC1
RGBrgb(149, 45, 193)
HSLhsl(282, 62%, 47%)
HSVhsv(282, 77%, 76%)
CMYKcmyk(22.8%, 76.7%, 0%, 24.3%)
CIE-LABlab(41.40, 63.96, -56.93)
CIE-LCHlch(41.40, 85.63, 318.33°)
OKLaboklab(52.35% 0.1517 -0.161)
OKLCHoklch(52.35% 0.221 313.3)
XYZxyz(22.9568, 12.1173, 51.5713)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952DC1 #59C12D
analogous
#4B2DC1 #952DC1 #C12DA3
triadic
#952DC1 #C1952D #2DC195
tetradic
#952DC1 #C14B2D #59C12D #2DA3C1
square
#952DC1 #C14B2D #59C12D #2DA3C1
split-complementary
#952DC1 #A3C12D #2DC14B
monochromatic
#48165E #6F218F #952DC1 #B054D7 #C786E3

Accessibility & contrast

On white

6.13
#952DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#952DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952DC1
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952DC1#FFFFFF#000000##FFFFFF
##952DC11.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC5
Deuteranopia (green-blind)
#1C64BE
Tritanopia (blue-blind)
#905076
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #952dc1;
/* rgb */ color: rgb(149, 45, 193);
/* oklch */ color: oklch(52.4% 0.221 313.3);
Tailwind
colors: {
  custom: {
    50: '#b972d5',
    500: '#952dc1',
    950: '#000000',
  },
}
SCSS
$custom: #952dc1;
$custom-light: #b972d5;
$custom-dark: #000000;
JSON
{
  "hex": "#952dc1",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 193
  },
  "hsl": {
    "h": 282.162,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.52353,
    "c": 0.22119,
    "h": 313.3
  },
  "luminance": 0.12117
}

Semantic roles & 50–950 ramp

primary
#952DC1
secondary
#95CC7E
accent
#E54373
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #952DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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