#952AA5#952AA5

#952AA5 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.2% C 0.200 H 322.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#952AA5
RGBrgb(149, 42, 165)
HSLhsl(292, 59%, 41%)
HSVhsv(292, 75%, 65%)
CMYKcmyk(9.7%, 74.5%, 0%, 35.3%)
CIE-LABlab(39.18, 59.62, -43.94)
CIE-LCHlch(39.18, 74.06, 323.61°)
OKLaboklab(50.19% 0.1579 -0.1229)
OKLCHoklch(50.19% 0.2 322.1)
XYZxyz(20.0132, 10.7632, 36.6134)
Luminance0.1076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952AA5 #3AA52A
analogous
#572AA5 #952AA5 #A52A77
triadic
#952AA5 #A5952A #2AA595
tetradic
#952AA5 #A5572A #3AA52A #2A77A5
square
#952AA5 #A5572A #3AA52A #2A77A5
split-complementary
#952AA5 #77A52A #2AA557
monochromatic
#3D1143 #691E74 #952AA5 #BB3ECE #CC6FDA

Accessibility & contrast

On white

6.66
#952AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#952AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952AA5
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952AA5#FFFFFF#000000##FFFFFF
##952AA51.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#3C60A2
Tritanopia (blue-blind)
#974166
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #952aa5;
/* rgb */ color: rgb(149, 42, 165);
/* oklch */ color: oklch(50.2% 0.200 322.1);
Tailwind
colors: {
  custom: {
    50: '#b86fc0',
    500: '#952aa5',
    950: '#000000',
  },
}
SCSS
$custom: #952aa5;
$custom-light: #b86fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#952aa5",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 292.195,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50187,
    "c": 0.20007,
    "h": 322.1
  },
  "luminance": 0.10762
}

Semantic roles & 50–950 ramp

primary
#952AA5
secondary
#75C169
accent
#E3455A
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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