#952AA1#952AA1

#952AA1 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.197 H 323.5°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#952AA1
RGBrgb(149, 42, 161)
HSLhsl(294, 59%, 40%)
HSVhsv(294, 74%, 63%)
CMYKcmyk(7.5%, 73.9%, 0%, 36.9%)
CIE-LABlab(38.93, 58.90, -41.93)
CIE-LCHlch(38.93, 72.30, 324.55°)
OKLaboklab(49.93% 0.1581 -0.117)
OKLCHoklch(49.93% 0.197 323.5)
XYZxyz(19.6548, 10.6199, 34.7259)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952AA1 #36A12A
analogous
#5A2AA1 #952AA1 #A12A71
triadic
#952AA1 #A1952A #2AA195
tetradic
#952AA1 #A15A2A #36A12A #2A71A1
square
#952AA1 #A15A2A #36A12A #2A71A1
split-complementary
#952AA1 #71A12A #2AA15A
monochromatic
#3B1140 #681D70 #952AA1 #BE3CCC #CE6DD9

Accessibility & contrast

On white

6.72
#952AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#952AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952AA1
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952AA1#FFFFFF#000000##FFFFFF
##952AA11.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#3F609E
Tritanopia (blue-blind)
#984063
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #952aa1;
/* rgb */ color: rgb(149, 42, 161);
/* oklch */ color: oklch(49.9% 0.197 323.5);
Tailwind
colors: {
  custom: {
    50: '#b86fbd',
    500: '#952aa1',
    950: '#000000',
  },
}
SCSS
$custom: #952aa1;
$custom-light: #b86fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#952aa1",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 293.95,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49933,
    "c": 0.19671,
    "h": 323.5
  },
  "luminance": 0.10619
}

Semantic roles & 50–950 ramp

primary
#952AA1
secondary
#70C067
accent
#E24656
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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