#952AB5#952AB5

#952AB5 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.214 H 317.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#952AB5
RGBrgb(149, 42, 181)
HSLhsl(286, 62%, 44%)
HSVhsv(286, 77%, 71%)
CMYKcmyk(17.7%, 76.8%, 0%, 29%)
CIE-LABlab(40.22, 62.63, -51.79)
CIE-LCHlch(40.22, 81.27, 320.41°)
OKLaboklab(51.26% 0.1562 -0.1459)
OKLCHoklch(51.26% 0.214 317)
XYZxyz(21.5616, 11.3826, 44.7684)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952AB5 #4AB52A
analogous
#4F2AB5 #952AB5 #B52A8F
triadic
#952AB5 #B5952A #2AB595
tetradic
#952AB5 #B54F2A #4AB52A #2A8FB5
square
#952AB5 #B54F2A #4AB52A #2A8FB5
split-complementary
#952AB5 #8FB52A #2AB54F
monochromatic
#431352 #6C1E83 #952AB5 #B448D4 #C879E0

Accessibility & contrast

On white

6.41
#952AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#952AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952AB5
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952AB5#FFFFFF#000000##FFFFFF
##952AB51.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#2C62B2
Tritanopia (blue-blind)
#93496F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #952ab5;
/* rgb */ color: rgb(149, 42, 181);
/* oklch */ color: oklch(51.3% 0.214 317.0);
Tailwind
colors: {
  custom: {
    50: '#b870cc',
    500: '#952ab5',
    950: '#000000',
  },
}
SCSS
$custom: #952ab5;
$custom-light: #b870cc;
$custom-dark: #000000;
JSON
{
  "hex": "#952ab5",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 286.187,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51255,
    "c": 0.21371,
    "h": 317
  },
  "luminance": 0.11382
}

Semantic roles & 50–950 ramp

primary
#952AB5
secondary
#86C873
accent
#E54268
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #952AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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