#952DB0#952DB0

#952DB0 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.206 H 318.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#952DB0
RGBrgb(149, 45, 176)
HSLhsl(288, 59%, 43%)
HSVhsv(288, 74%, 69%)
CMYKcmyk(15.3%, 74.4%, 0%, 31%)
CIE-LABlab(40.25, 60.62, -48.78)
CIE-LCHlch(40.25, 77.81, 321.18°)
OKLaboklab(51.17% 0.1541 -0.137)
OKLCHoklch(51.17% 0.206 318.4)
XYZxyz(21.1682, 11.4019, 42.1516)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952DB0 #48B02D
analogous
#542DB0 #952DB0 #B02D89
triadic
#952DB0 #B0952D #2DB095
tetradic
#952DB0 #B0542D #48B02D #2D89B0
square
#952DB0 #B0542D #48B02D #2D89B0
split-complementary
#952DB0 #89B02D #2DB054
monochromatic
#42144F #6C217F #952DB0 #B54AD1 #C97ADD

Accessibility & contrast

On white

6.40
#952DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #952DB0
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952DB0#FFFFFF#000000##FFFFFF
##952DB01.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B4
Deuteranopia (green-blind)
#3462AD
Tritanopia (blue-blind)
#94486D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #952db0;
/* rgb */ color: rgb(149, 45, 176);
/* oklch */ color: oklch(51.2% 0.206 318.4);
Tailwind
colors: {
  custom: {
    50: '#b871c8',
    500: '#952db0',
    950: '#000000',
  },
}
SCSS
$custom: #952db0;
$custom-light: #b871c8;
$custom-dark: #000000;
JSON
{
  "hex": "#952db0",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 287.634,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51172,
    "c": 0.20624,
    "h": 318.4
  },
  "luminance": 0.11401
}

Semantic roles & 50–950 ramp

primary
#952DB0
secondary
#84C573
accent
#E24566
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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