#952EC6#952EC6

#952EC6 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.8% C 0.225 H 311.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#952EC6
RGBrgb(149, 46, 198)
HSLhsl(281, 62%, 48%)
HSVhsv(281, 77%, 78%)
CMYKcmyk(24.7%, 76.8%, 0%, 22.4%)
CIE-LABlab(41.88, 64.62, -59.08)
CIE-LCHlch(41.88, 87.56, 317.57°)
OKLaboklab(52.8% 0.15 -0.1673)
OKLCHoklch(52.8% 0.225 311.9)
XYZxyz(23.5626, 12.4214, 54.5715)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952EC6 #5FC62E
analogous
#492EC6 #952EC6 #C62EAB
triadic
#952EC6 #C6952E #2EC695
tetradic
#952EC6 #C6492E #5FC62E #2EABC6
square
#952EC6 #C6492E #5FC62E #2EABC6
split-complementary
#952EC6 #ABC62E #2EC649
monochromatic
#4A1763 #702294 #952EC6 #AF59D8 #C78AE4

Accessibility & contrast

On white

6.03
#952EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#952EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952EC6
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952EC6#FFFFFF#000000##FFFFFF
##952EC61.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECA
Deuteranopia (green-blind)
#1065C3
Tritanopia (blue-blind)
#8F5279
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #952ec6;
/* rgb */ color: rgb(149, 46, 198);
/* oklch */ color: oklch(52.8% 0.225 311.9);
Tailwind
colors: {
  custom: {
    50: '#b972d8',
    500: '#952ec6',
    950: '#000000',
  },
}
SCSS
$custom: #952ec6;
$custom-light: #b972d8;
$custom-dark: #000000;
JSON
{
  "hex": "#952ec6",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 198
  },
  "hsl": {
    "h": 280.658,
    "s": 62.295,
    "l": 47.843
  },
  "oklch": {
    "l": 0.528,
    "c": 0.22466,
    "h": 311.9
  },
  "luminance": 0.12421
}

Semantic roles & 50–950 ramp

primary
#952EC6
secondary
#9ACE82
accent
#E54277
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120915
muted
#817B83

Preview Lab

Preview with #952EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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