#952AAB#952AAB

#952AAB is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.205 H 320.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#952AAB
RGBrgb(149, 42, 171)
HSLhsl(290, 61%, 42%)
HSVhsv(290, 75%, 67%)
CMYKcmyk(12.9%, 75.4%, 0%, 32.9%)
CIE-LABlab(39.56, 60.73, -46.92)
CIE-LCHlch(39.56, 76.74, 322.31°)
OKLaboklab(50.58% 0.1574 -0.1316)
OKLCHoklch(50.58% 0.205 320.1)
XYZxyz(20.5722, 10.9868, 39.5572)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952AAB #40AB2A
analogous
#542AAB #952AAB #AB2A81
triadic
#952AAB #AB952A #2AAB95
tetradic
#952AAB #AB542A #40AB2A #2A81AB
square
#952AAB #AB542A #40AB2A #2A81AB
split-complementary
#952AAB #81AB2A #2AAB54
monochromatic
#3F1249 #6A1E7A #952AAB #B842D1 #CB73DD

Accessibility & contrast

On white

6.57
#952AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#952AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952AAB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952AAB#FFFFFF#000000##FFFFFF
##952AAB1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#3661A8
Tritanopia (blue-blind)
#954469
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #952aab;
/* rgb */ color: rgb(149, 42, 171);
/* oklch */ color: oklch(50.6% 0.205 320.1);
Tailwind
colors: {
  custom: {
    50: '#b86fc5',
    500: '#952aab',
    950: '#000000',
  },
}
SCSS
$custom: #952aab;
$custom-light: #b86fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#952aab",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 289.767,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50578,
    "c": 0.20514,
    "h": 320.1
  },
  "luminance": 0.10986
}

Semantic roles & 50–950 ramp

primary
#952AAB
secondary
#7CC46D
accent
#E4445F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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