#952DC2#952DC2

#952DC2 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.222 H 313.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#952DC2
RGBrgb(149, 45, 194)
HSLhsl(282, 62%, 47%)
HSVhsv(282, 77%, 76%)
CMYKcmyk(23.2%, 76.8%, 0%, 23.9%)
CIE-LABlab(41.47, 64.16, -57.40)
CIE-LCHlch(41.47, 86.09, 318.18°)
OKLaboklab(52.43% 0.1516 -0.1623)
OKLCHoklch(52.43% 0.222 313)
XYZxyz(23.0687, 12.1621, 52.1608)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952DC2 #5AC22D
analogous
#4A2DC2 #952DC2 #C22DA5
triadic
#952DC2 #C2952D #2DC295
tetradic
#952DC2 #C24A2D #5AC22D #2DA5C2
square
#952DC2 #C24A2D #5AC22D #2DA5C2
split-complementary
#952DC2 #A5C22D #2DC24A
monochromatic
#49165F #6F2190 #952DC2 #B055D7 #C786E3

Accessibility & contrast

On white

6.12
#952DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#952DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952DC2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952DC2#FFFFFF#000000##FFFFFF
##952DC21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#1964BF
Tritanopia (blue-blind)
#905077
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #952dc2;
/* rgb */ color: rgb(149, 45, 194);
/* oklch */ color: oklch(52.4% 0.222 313.0);
Tailwind
colors: {
  custom: {
    50: '#b972d5',
    500: '#952dc2',
    950: '#000000',
  },
}
SCSS
$custom: #952dc2;
$custom-light: #b972d5;
$custom-dark: #000000;
JSON
{
  "hex": "#952dc2",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 194
  },
  "hsl": {
    "h": 281.879,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52425,
    "c": 0.22208,
    "h": 313
  },
  "luminance": 0.12161
}

Semantic roles & 50–950 ramp

primary
#952DC2
secondary
#96CD7E
accent
#E54274
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #952DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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