#952DB3#952DB3

#952DB3 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.209 H 317.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#952DB3
RGBrgb(149, 45, 179)
HSLhsl(287, 60%, 44%)
HSVhsv(287, 75%, 70%)
CMYKcmyk(16.8%, 74.9%, 0%, 29.8%)
CIE-LABlab(40.45, 61.20, -50.24)
CIE-LCHlch(40.45, 79.18, 320.62°)
OKLaboklab(51.37% 0.1538 -0.1413)
OKLCHoklch(51.37% 0.209 317.4)
XYZxyz(21.4683, 11.5219, 43.7322)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952DB3 #4BB32D
analogous
#522DB3 #952DB3 #B32D8E
triadic
#952DB3 #B3952D #2DB395
tetradic
#952DB3 #B3522D #4BB32D #2D8EB3
square
#952DB3 #B3522D #4BB32D #2D8EB3
split-complementary
#952DB3 #8EB32D #2DB352
monochromatic
#441451 #6C2182 #952DB3 #B44BD2 #C87CDE

Accessibility & contrast

On white

6.36
#952DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#952DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952DB3
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952DB3#FFFFFF#000000##FFFFFF
##952DB31.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#3162B0
Tritanopia (blue-blind)
#94496E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #952db3;
/* rgb */ color: rgb(149, 45, 179);
/* oklch */ color: oklch(51.4% 0.209 317.4);
Tailwind
colors: {
  custom: {
    50: '#b871ca',
    500: '#952db3',
    950: '#000000',
  },
}
SCSS
$custom: #952db3;
$custom-light: #b871ca;
$custom-dark: #000000;
JSON
{
  "hex": "#952db3",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 286.567,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51374,
    "c": 0.20886,
    "h": 317.4
  },
  "luminance": 0.11521
}

Semantic roles & 50–950 ramp

primary
#952DB3
secondary
#87C775
accent
#E34568
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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