#952EA1#952EA1

#952EA1 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.192 H 323.4°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#952EA1
RGBrgb(149, 46, 161)
HSLhsl(294, 56%, 41%)
HSVhsv(294, 71%, 63%)
CMYKcmyk(7.5%, 71.4%, 0%, 36.9%)
CIE-LABlab(39.44, 57.45, -41.12)
CIE-LCHlch(39.44, 70.65, 324.40°)
OKLaboklab(50.3% 0.1542 -0.1146)
OKLCHoklch(50.3% 0.192 323.4)
XYZxyz(19.8038, 10.9179, 34.7756)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952EA1 #3AA12E
analogous
#5B2EA1 #952EA1 #A12E73
triadic
#952EA1 #A1952E #2EA195
tetradic
#952EA1 #A15B2E #3AA12E #2E73A1
square
#952EA1 #A15B2E #3AA12E #2E73A1
split-complementary
#952EA1 #73A12E #2EA15B
monochromatic
#3D1342 #692071 #952EA1 #BB43C9 #CC73D7

Accessibility & contrast

On white

6.60
#952EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#952EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952EA1
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952EA1#FFFFFF#000000##FFFFFF
##952EA11.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0555A4
Deuteranopia (green-blind)
#41619E
Tritanopia (blue-blind)
#974264
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #952ea1;
/* rgb */ color: rgb(149, 46, 161);
/* oklch */ color: oklch(50.3% 0.192 323.4);
Tailwind
colors: {
  custom: {
    50: '#b871bd',
    500: '#952ea1',
    950: '#000000',
  },
}
SCSS
$custom: #952ea1;
$custom-light: #b871bd;
$custom-dark: #000000;
JSON
{
  "hex": "#952ea1",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 293.739,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50296,
    "c": 0.19214,
    "h": 323.4
  },
  "luminance": 0.10917
}

Semantic roles & 50–950 ramp

primary
#952EA1
secondary
#75BE6C
accent
#DF4959
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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