#952CB3#952CB3

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

Color values

HEX#952CB3
RGBrgb(149, 44, 179)
HSLhsl(287, 61%, 44%)
HSVhsv(287, 75%, 70%)
CMYKcmyk(16.8%, 75.4%, 0%, 29.8%)
CIE-LABlab(40.32, 61.55, -50.44)
CIE-LCHlch(40.32, 79.58, 320.67°)
OKLaboklab(51.29% 0.1547 -0.1419)
OKLCHoklch(51.29% 0.21 317.5)
XYZxyz(21.4306, 11.4465, 43.7196)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952CB3 #4AB32C
analogous
#512CB3 #952CB3 #B32C8D
triadic
#952CB3 #B3952C #2CB395
tetradic
#952CB3 #B3512C #4AB32C #2C8DB3
square
#952CB3 #B3512C #4AB32C #2C8DB3
split-complementary
#952CB3 #8DB32C #2CB351
monochromatic
#431451 #6C2082 #952CB3 #B44AD2 #C87BDF

Accessibility & contrast

On white

6.38
#952CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#952CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952CB3
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952CB3#FFFFFF#000000##FFFFFF
##952CB31.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #952cb3;
/* rgb */ color: rgb(149, 44, 179);
/* oklch */ color: oklch(51.3% 0.210 317.5);
Tailwind
colors: {
  custom: {
    50: '#b870ca',
    500: '#952cb3',
    950: '#000000',
  },
}
SCSS
$custom: #952cb3;
$custom-light: #b870ca;
$custom-dark: #000000;
JSON
{
  "hex": "#952cb3",
  "rgb": {
    "r": 149,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 286.667,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51286,
    "c": 0.20992,
    "h": 317.5
  },
  "luminance": 0.11446
}

Semantic roles & 50–950 ramp

primary
#952CB3
secondary
#86C774
accent
#E44468
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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