#952AB3#952AB3

#952AB3 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.212 H 317.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#952AB3
RGBrgb(149, 42, 179)
HSLhsl(287, 62%, 43%)
HSVhsv(287, 77%, 70%)
CMYKcmyk(16.8%, 76.5%, 0%, 29.8%)
CIE-LABlab(40.08, 62.24, -50.83)
CIE-LCHlch(40.08, 80.36, 320.76°)
OKLaboklab(51.12% 0.1565 -0.143)
OKLCHoklch(51.12% 0.212 317.6)
XYZxyz(21.3579, 11.3011, 43.6954)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952AB3 #48B32A
analogous
#502AB3 #952AB3 #B32A8C
triadic
#952AB3 #B3952A #2AB395
tetradic
#952AB3 #B3502A #48B32A #2A8CB3
square
#952AB3 #B3502A #48B32A #2A8CB3
split-complementary
#952AB3 #8CB32A #2AB350
monochromatic
#421350 #6C1E81 #952AB3 #B546D4 #C978DF

Accessibility & contrast

On white

6.44
#952AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#952AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952AB3
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952AB3#FFFFFF#000000##FFFFFF
##952AB31.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#2E62B0
Tritanopia (blue-blind)
#94486E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #952ab3;
/* rgb */ color: rgb(149, 42, 179);
/* oklch */ color: oklch(51.1% 0.212 317.6);
Tailwind
colors: {
  custom: {
    50: '#b870ca',
    500: '#952ab3',
    950: '#000000',
  },
}
SCSS
$custom: #952ab3;
$custom-light: #b870ca;
$custom-dark: #000000;
JSON
{
  "hex": "#952ab3",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 286.861,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51117,
    "c": 0.21198,
    "h": 317.6
  },
  "luminance": 0.113
}

Semantic roles & 50–950 ramp

primary
#952AB3
secondary
#84C772
accent
#E54366
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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