#952AA8#952AA8

#952AA8 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.203 H 321.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#952AA8
RGBrgb(149, 42, 168)
HSLhsl(291, 60%, 41%)
HSVhsv(291, 75%, 66%)
CMYKcmyk(11.3%, 75%, 0%, 34.1%)
CIE-LABlab(39.37, 60.17, -45.44)
CIE-LCHlch(39.37, 75.40, 322.94°)
OKLaboklab(50.38% 0.1577 -0.1272)
OKLCHoklch(50.38% 0.203 321.1)
XYZxyz(20.2895, 10.8737, 38.0683)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952AA8 #3DA82A
analogous
#562AA8 #952AA8 #A82A7C
triadic
#952AA8 #A8952A #2AA895
tetradic
#952AA8 #A8562A #3DA82A #2A7CA8
square
#952AA8 #A8562A #3DA82A #2A7CA8
split-complementary
#952AA8 #7CA82A #2AA856
monochromatic
#3E1246 #6A1E77 #952AA8 #BA40CF #CB71DB

Accessibility & contrast

On white

6.62
#952AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#952AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952AA8
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952AA8#FFFFFF#000000##FFFFFF
##952AA81.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#3961A5
Tritanopia (blue-blind)
#964367
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #952aa8;
/* rgb */ color: rgb(149, 42, 168);
/* oklch */ color: oklch(50.4% 0.203 321.1);
Tailwind
colors: {
  custom: {
    50: '#b86fc2',
    500: '#952aa8',
    950: '#000000',
  },
}
SCSS
$custom: #952aa8;
$custom-light: #b86fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#952aa8",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 290.952,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50381,
    "c": 0.2026,
    "h": 321.1
  },
  "luminance": 0.10873
}

Semantic roles & 50–950 ramp

primary
#952AA8
secondary
#78C36B
accent
#E3455D
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #952AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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