#952CB1#952CB1

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

Color values

HEX#952CB1
RGBrgb(149, 44, 177)
HSLhsl(287, 60%, 43%)
HSVhsv(287, 75%, 69%)
CMYKcmyk(15.8%, 75.1%, 0%, 30.6%)
CIE-LABlab(40.19, 61.17, -49.47)
CIE-LCHlch(40.19, 78.67, 321.04°)
OKLaboklab(51.15% 0.1549 -0.1391)
OKLCHoklch(51.15% 0.208 318.1)
XYZxyz(21.2298, 11.3662, 42.6621)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952CB1 #48B12C
analogous
#522CB1 #952CB1 #B12C8A
triadic
#952CB1 #B1952C #2CB195
tetradic
#952CB1 #B1522C #48B12C #2C8AB1
square
#952CB1 #B1522C #48B12C #2C8AB1
split-complementary
#952CB1 #8AB12C #2CB152
monochromatic
#42144F #6C2080 #952CB1 #B549D2 #C97ADE

Accessibility & contrast

On white

6.42
#952CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#952CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952CB1
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952CB1#FFFFFF#000000##FFFFFF
##952CB11.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#3262AE
Tritanopia (blue-blind)
#94486D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #952cb1;
/* rgb */ color: rgb(149, 44, 177);
/* oklch */ color: oklch(51.2% 0.208 318.1);
Tailwind
colors: {
  custom: {
    50: '#b870c9',
    500: '#952cb1',
    950: '#000000',
  },
}
SCSS
$custom: #952cb1;
$custom-light: #b870c9;
$custom-dark: #000000;
JSON
{
  "hex": "#952cb1",
  "rgb": {
    "r": 149,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 287.368,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51151,
    "c": 0.20818,
    "h": 318.1
  },
  "luminance": 0.11365
}

Semantic roles & 50–950 ramp

primary
#952CB1
secondary
#84C673
accent
#E34466
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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