#952BAB#952BAB

#952BAB is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.204 H 320.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#952BAB
RGBrgb(149, 43, 171)
HSLhsl(290, 60%, 42%)
HSVhsv(290, 75%, 67%)
CMYKcmyk(12.9%, 74.9%, 0%, 32.9%)
CIE-LABlab(39.68, 60.38, -46.73)
CIE-LCHlch(39.68, 76.35, 322.27°)
OKLaboklab(50.66% 0.1565 -0.131)
OKLCHoklch(50.66% 0.204 320.1)
XYZxyz(20.6081, 11.0586, 39.5692)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952BAB #41AB2B
analogous
#552BAB #952BAB #AB2B81
triadic
#952BAB #AB952B #2BAB95
tetradic
#952BAB #AB552B #41AB2B #2B81AB
square
#952BAB #AB552B #41AB2B #2B81AB
split-complementary
#952BAB #81AB2B #2BAB55
monochromatic
#401249 #6A1F7A #952BAB #B843D0 #CA74DC

Accessibility & contrast

On white

6.54
#952BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#952BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952BAB
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952BAB#FFFFFF#000000##FFFFFF
##952BAB1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #952bab;
/* rgb */ color: rgb(149, 43, 171);
/* oklch */ color: oklch(50.7% 0.204 320.1);
Tailwind
colors: {
  custom: {
    50: '#b870c5',
    500: '#952bab',
    950: '#000000',
  },
}
SCSS
$custom: #952bab;
$custom-light: #b870c5;
$custom-dark: #000000;
JSON
{
  "hex": "#952bab",
  "rgb": {
    "r": 149,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 289.688,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50664,
    "c": 0.20408,
    "h": 320.1
  },
  "luminance": 0.11058
}

Semantic roles & 50–950 ramp

primary
#952BAB
secondary
#7DC46E
accent
#E34560
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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