#952EA5#952EA5

#952EA5 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.196 H 322.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#952EA5
RGBrgb(149, 46, 165)
HSLhsl(292, 56%, 41%)
HSVhsv(292, 72%, 65%)
CMYKcmyk(9.7%, 72.1%, 0%, 35.3%)
CIE-LABlab(39.68, 58.18, -43.13)
CIE-LCHlch(39.68, 72.43, 323.45°)
OKLaboklab(50.55% 0.154 -0.1205)
OKLCHoklch(50.55% 0.196 322)
XYZxyz(20.1622, 11.0613, 36.6631)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952EA5 #3EA52E
analogous
#5A2EA5 #952EA5 #A52E7A
triadic
#952EA5 #A5952E #2EA595
tetradic
#952EA5 #A55A2E #3EA52E #2E7AA5
square
#952EA5 #A55A2E #3EA52E #2E7AA5
split-complementary
#952EA5 #7AA52E #2EA55A
monochromatic
#3F1345 #6A2175 #952EA5 #B945CB #CB75D8

Accessibility & contrast

On white

6.54
#952EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#952EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952EA5
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952EA5#FFFFFF#000000##FFFFFF
##952EA51.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#3E61A2
Tritanopia (blue-blind)
#974467
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #952ea5;
/* rgb */ color: rgb(149, 46, 165);
/* oklch */ color: oklch(50.5% 0.196 322.0);
Tailwind
colors: {
  custom: {
    50: '#b871c0',
    500: '#952ea5',
    950: '#000000',
  },
}
SCSS
$custom: #952ea5;
$custom-light: #b871c0;
$custom-dark: #000000;
JSON
{
  "hex": "#952ea5",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 291.933,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50547,
    "c": 0.19558,
    "h": 322
  },
  "luminance": 0.1106
}

Semantic roles & 50–950 ramp

primary
#952EA5
secondary
#79C06F
accent
#E0485C
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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