#952FB1#952FB1

#952FB1 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.4% C 0.205 H 317.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#952FB1
RGBrgb(149, 47, 177)
HSLhsl(287, 58%, 44%)
HSVhsv(287, 73%, 69%)
CMYKcmyk(15.8%, 73.4%, 0%, 30.6%)
CIE-LABlab(40.57, 60.09, -48.86)
CIE-LCHlch(40.57, 77.44, 320.88°)
OKLaboklab(51.42% 0.1521 -0.1373)
OKLCHoklch(51.42% 0.205 317.9)
XYZxyz(21.3456, 11.5979, 42.7007)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FB1 #4BB12F
analogous
#542FB1 #952FB1 #B12F8C
triadic
#952FB1 #B1952F #2FB195
tetradic
#952FB1 #B1542F #4BB12F #2F8CB1
square
#952FB1 #B1542F #4BB12F #2F8CB1
split-complementary
#952FB1 #8CB12F #2FB154
monochromatic
#441550 #6C2281 #952FB1 #B44DD0 #C87EDD

Accessibility & contrast

On white

6.33
#952FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#952FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952FB1
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952FB1#FFFFFF#000000##FFFFFF
##952FB11.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#3463AE
Tritanopia (blue-blind)
#944A6E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #952fb1;
/* rgb */ color: rgb(149, 47, 177);
/* oklch */ color: oklch(51.4% 0.205 317.9);
Tailwind
colors: {
  custom: {
    50: '#b872c9',
    500: '#952fb1',
    950: '#000000',
  },
}
SCSS
$custom: #952fb1;
$custom-light: #b872c9;
$custom-dark: #000000;
JSON
{
  "hex": "#952fb1",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 287.077,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5142,
    "c": 0.2049,
    "h": 317.9
  },
  "luminance": 0.11597
}

Semantic roles & 50–950 ramp

primary
#952FB1
secondary
#87C576
accent
#E14768
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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