#952EAA#952EAA

#952EAA is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.9% C 0.200 H 320.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#952EAA
RGBrgb(149, 46, 170)
HSLhsl(290, 57%, 42%)
HSVhsv(290, 73%, 67%)
CMYKcmyk(12.4%, 72.9%, 0%, 33.3%)
CIE-LABlab(39.99, 59.12, -45.63)
CIE-LCHlch(39.99, 74.68, 322.34°)
OKLaboklab(50.87% 0.1537 -0.1278)
OKLCHoklch(50.87% 0.2 320.3)
XYZxyz(20.6262, 11.2469, 39.1068)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952EAA #43AA2E
analogous
#572EAA #952EAA #AA2E81
triadic
#952EAA #AA952E #2EAA95
tetradic
#952EAA #AA572E #43AA2E #2E81AA
square
#952EAA #AA572E #43AA2E #2E81AA
split-complementary
#952EAA #81AA2E #2EAA57
monochromatic
#41144A #6B217A #952EAA #B748CD #CA78DA

Accessibility & contrast

On white

6.46
#952EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#952EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952EAA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952EAA#FFFFFF#000000##FFFFFF
##952EAA1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#3A62A7
Tritanopia (blue-blind)
#964669
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #952eaa;
/* rgb */ color: rgb(149, 46, 170);
/* oklch */ color: oklch(50.9% 0.200 320.3);
Tailwind
colors: {
  custom: {
    50: '#b871c4',
    500: '#952eaa',
    950: '#000000',
  },
}
SCSS
$custom: #952eaa;
$custom-light: #b871c4;
$custom-dark: #000000;
JSON
{
  "hex": "#952eaa",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 289.839,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50867,
    "c": 0.1999,
    "h": 320.3
  },
  "luminance": 0.11246
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #952EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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