#952BB7#952BB7

#952BB7 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.214 H 316.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#952BB7
RGBrgb(149, 43, 183)
HSLhsl(285, 62%, 44%)
HSVhsv(285, 77%, 72%)
CMYKcmyk(18.6%, 76.5%, 0%, 28.2%)
CIE-LABlab(40.47, 62.67, -52.56)
CIE-LCHlch(40.47, 81.80, 320.01°)
OKLaboklab(51.48% 0.155 -0.1481)
OKLCHoklch(51.48% 0.214 316.3)
XYZxyz(21.8042, 11.5371, 45.8689)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952BB7 #4DB72B
analogous
#4F2BB7 #952BB7 #B72B93
triadic
#952BB7 #B7952B #2BB795
tetradic
#952BB7 #B74F2B #4DB72B #2B93B7
square
#952BB7 #B74F2B #4DB72B #2B93B7
split-complementary
#952BB7 #93B72B #2BB74F
monochromatic
#441454 #6D1F85 #952BB7 #B34BD5 #C87CE0

Accessibility & contrast

On white

6.35
#952BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#952BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952BB7
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952BB7#FFFFFF#000000##FFFFFF
##952BB71.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#2A62B4
Tritanopia (blue-blind)
#934A70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #952bb7;
/* rgb */ color: rgb(149, 43, 183);
/* oklch */ color: oklch(51.5% 0.214 316.3);
Tailwind
colors: {
  custom: {
    50: '#b870cd',
    500: '#952bb7',
    950: '#000000',
  },
}
SCSS
$custom: #952bb7;
$custom-light: #b870cd;
$custom-dark: #000000;
JSON
{
  "hex": "#952bb7",
  "rgb": {
    "r": 149,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 285.429,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51477,
    "c": 0.21443,
    "h": 316.3
  },
  "luminance": 0.11536
}

Semantic roles & 50–950 ramp

primary
#952BB7
secondary
#89C975
accent
#E5436A
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #952BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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