#952EA3#952EA3

#952EA3 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.194 H 322.7°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#952EA3
RGBrgb(149, 46, 163)
HSLhsl(293, 56%, 41%)
HSVhsv(293, 72%, 64%)
CMYKcmyk(8.6%, 71.8%, 0%, 36.1%)
CIE-LABlab(39.56, 57.81, -42.13)
CIE-LCHlch(39.56, 71.53, 323.92°)
OKLaboklab(50.42% 0.1541 -0.1176)
OKLCHoklch(50.42% 0.194 322.7)
XYZxyz(19.9816, 10.9890, 35.7118)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952EA3 #3CA32E
analogous
#5B2EA3 #952EA3 #A32E76
triadic
#952EA3 #A3952E #2EA395
tetradic
#952EA3 #A35B2E #3CA32E #2E76A3
square
#952EA3 #A35B2E #3CA32E #2E76A3
split-complementary
#952EA3 #76A32E #2EA35B
monochromatic
#3E1344 #692173 #952EA3 #BA44CA #CC74D8

Accessibility & contrast

On white

6.57
#952EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#952EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952EA3
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952EA3#FFFFFF#000000##FFFFFF
##952EA31.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A6
Deuteranopia (green-blind)
#3F61A0
Tritanopia (blue-blind)
#974366
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #952ea3;
/* rgb */ color: rgb(149, 46, 163);
/* oklch */ color: oklch(50.4% 0.194 322.7);
Tailwind
colors: {
  custom: {
    50: '#b871bf',
    500: '#952ea3',
    950: '#000000',
  },
}
SCSS
$custom: #952ea3;
$custom-light: #b871bf;
$custom-dark: #000000;
JSON
{
  "hex": "#952ea3",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 292.821,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50421,
    "c": 0.19385,
    "h": 322.7
  },
  "luminance": 0.10988
}

Semantic roles & 50–950 ramp

primary
#952EA3
secondary
#77BF6D
accent
#DF495B
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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