#952AB9#952AB9

#952AB9 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.217 H 315.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#952AB9
RGBrgb(149, 42, 185)
HSLhsl(285, 63%, 45%)
HSVhsv(285, 77%, 73%)
CMYKcmyk(19.5%, 77.3%, 0%, 27.5%)
CIE-LABlab(40.49, 63.40, -53.71)
CIE-LCHlch(40.49, 83.09, 319.73°)
OKLaboklab(51.53% 0.1556 -0.1515)
OKLCHoklch(51.53% 0.217 315.8)
XYZxyz(21.9780, 11.5491, 46.9610)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952AB9 #4EB92A
analogous
#4D2AB9 #952AB9 #B92A96
triadic
#952AB9 #B9952A #2AB995
tetradic
#952AB9 #B94D2A #4EB92A #2A96B9
square
#952AB9 #B94D2A #4EB92A #2A96B9
split-complementary
#952AB9 #96B92A #2AB94D
monochromatic
#451355 #6D1F87 #952AB9 #B34AD6 #C87CE1

Accessibility & contrast

On white

6.35
#952AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#952AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952AB9
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952AB9#FFFFFF#000000##FFFFFF
##952AB91.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#2662B6
Tritanopia (blue-blind)
#924B71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #952ab9;
/* rgb */ color: rgb(149, 42, 185);
/* oklch */ color: oklch(51.5% 0.217 315.8);
Tailwind
colors: {
  custom: {
    50: '#b970cf',
    500: '#952ab9',
    950: '#000000',
  },
}
SCSS
$custom: #952ab9;
$custom-light: #b970cf;
$custom-dark: #000000;
JSON
{
  "hex": "#952ab9",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 284.895,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51534,
    "c": 0.21716,
    "h": 315.8
  },
  "luminance": 0.11548
}

Semantic roles & 50–950 ramp

primary
#952AB9
secondary
#8ACA75
accent
#E6426B
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #952AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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