#952AA2#952AA2

#952AA2 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.198 H 323.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#952AA2
RGBrgb(149, 42, 162)
HSLhsl(294, 59%, 40%)
HSVhsv(294, 74%, 64%)
CMYKcmyk(8%, 74.1%, 0%, 36.5%)
CIE-LABlab(38.99, 59.08, -42.44)
CIE-LCHlch(38.99, 72.74, 324.31°)
OKLaboklab(50% 0.1581 -0.1185)
OKLCHoklch(50% 0.198 323.2)
XYZxyz(19.7434, 10.6553, 35.1922)
Luminance0.1065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952AA2 #37A22A
analogous
#592AA2 #952AA2 #A22A73
triadic
#952AA2 #A2952A #2AA295
tetradic
#952AA2 #A2592A #37A22A #2A73A2
square
#952AA2 #A2592A #37A22A #2A73A2
split-complementary
#952AA2 #73A22A #2AA259
monochromatic
#3C1141 #681D71 #952AA2 #BD3DCD #CE6DD9

Accessibility & contrast

On white

6.71
#952AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#952AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952AA2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952AA2#FFFFFF#000000##FFFFFF
##952AA21.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#3E609F
Tritanopia (blue-blind)
#974064
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #952aa2;
/* rgb */ color: rgb(149, 42, 162);
/* oklch */ color: oklch(50.0% 0.198 323.2);
Tailwind
colors: {
  custom: {
    50: '#b86fbe',
    500: '#952aa2',
    950: '#000000',
  },
}
SCSS
$custom: #952aa2;
$custom-light: #b86fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#952aa2",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 293.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.49996,
    "c": 0.19755,
    "h": 323.2
  },
  "luminance": 0.10654
}

Semantic roles & 50–950 ramp

primary
#952AA2
secondary
#71C068
accent
#E24657
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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