#952EA0#952EA0

#952EA0 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.2% C 0.191 H 323.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#952EA0
RGBrgb(149, 46, 160)
HSLhsl(294, 55%, 40%)
HSVhsv(294, 71%, 63%)
CMYKcmyk(6.9%, 71.2%, 0%, 37.3%)
CIE-LABlab(39.38, 57.26, -40.61)
CIE-LCHlch(39.38, 70.20, 324.65°)
OKLaboklab(50.24% 0.1542 -0.1132)
OKLCHoklch(50.24% 0.191 323.7)
XYZxyz(19.7160, 10.8828, 34.3130)
Luminance0.1088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952EA0 #39A02E
analogous
#5C2EA0 #952EA0 #A02E72
triadic
#952EA0 #A0952E #2EA095
tetradic
#952EA0 #A05C2E #39A02E #2E72A0
square
#952EA0 #A05C2E #39A02E #2E72A0
split-complementary
#952EA0 #72A02E #2EA05C
monochromatic
#3C1341 #692070 #952EA0 #BC42C9 #CD72D6

Accessibility & contrast

On white

6.61
#952EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #952EA0
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952EA0#FFFFFF#000000##FFFFFF
##952EA01.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0855A3
Deuteranopia (green-blind)
#42619D
Tritanopia (blue-blind)
#984264
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #952ea0;
/* rgb */ color: rgb(149, 46, 160);
/* oklch */ color: oklch(50.2% 0.191 323.7);
Tailwind
colors: {
  custom: {
    50: '#b871bd',
    500: '#952ea0',
    950: '#000000',
  },
}
SCSS
$custom: #952ea0;
$custom-light: #b871bd;
$custom-dark: #000000;
JSON
{
  "hex": "#952ea0",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 294.211,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50235,
    "c": 0.19128,
    "h": 323.7
  },
  "luminance": 0.10882
}

Semantic roles & 50–950 ramp

primary
#952EA0
secondary
#74BE6C
accent
#DF4958
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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