#952FB6#952FB6

#952FB6 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.209 H 316.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#952FB6
RGBrgb(149, 47, 182)
HSLhsl(285, 59%, 45%)
HSVhsv(285, 74%, 71%)
CMYKcmyk(18.1%, 74.2%, 0%, 28.6%)
CIE-LABlab(40.90, 61.06, -51.29)
CIE-LCHlch(40.90, 79.74, 319.97°)
OKLaboklab(51.76% 0.1516 -0.1444)
OKLCHoklch(51.76% 0.209 316.4)
XYZxyz(21.8531, 11.8009, 45.3736)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FB6 #50B62F
analogous
#512FB6 #952FB6 #B62F94
triadic
#952FB6 #B6952F #2FB695
tetradic
#952FB6 #B6512F #50B62F #2F94B6
square
#952FB6 #B6512F #50B62F #2F94B6
split-complementary
#952FB6 #94B62F #2FB651
monochromatic
#451655 #6D2285 #952FB6 #B250D2 #C881DE

Accessibility & contrast

On white

6.25
#952FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#952FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952FB6
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952FB6#FFFFFF#000000##FFFFFF
##952FB61.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABA
Deuteranopia (green-blind)
#2F63B3
Tritanopia (blue-blind)
#934C70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #952fb6;
/* rgb */ color: rgb(149, 47, 182);
/* oklch */ color: oklch(51.8% 0.209 316.4);
Tailwind
colors: {
  custom: {
    50: '#b872cd',
    500: '#952fb6',
    950: '#000000',
  },
}
SCSS
$custom: #952fb6;
$custom-light: #b872cd;
$custom-dark: #000000;
JSON
{
  "hex": "#952fb6",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 285.333,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51758,
    "c": 0.20934,
    "h": 316.4
  },
  "luminance": 0.118
}

Semantic roles & 50–950 ramp

primary
#952FB6
secondary
#8CC779
accent
#E2466C
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #952FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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