#952BB2#952BB2

#952BB2 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.210 H 317.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#952BB2
RGBrgb(149, 43, 178)
HSLhsl(287, 61%, 43%)
HSVhsv(287, 76%, 70%)
CMYKcmyk(16.3%, 75.8%, 0%, 30.2%)
CIE-LABlab(40.14, 61.71, -50.15)
CIE-LCHlch(40.14, 79.52, 320.90°)
OKLaboklab(51.13% 0.1557 -0.141)
OKLCHoklch(51.13% 0.21 317.8)
XYZxyz(21.2930, 11.3326, 43.1767)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952BB2 #48B22B
analogous
#512BB2 #952BB2 #B22B8B
triadic
#952BB2 #B2952B #2BB295
tetradic
#952BB2 #B2512B #48B22B #2B8BB2
square
#952BB2 #B2512B #48B22B #2B8BB2
split-complementary
#952BB2 #8BB22B #2BB251
monochromatic
#42134F #6C1F81 #952BB2 #B548D3 #C979DF

Accessibility & contrast

On white

6.43
#952BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #952BB2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952BB2#FFFFFF#000000##FFFFFF
##952BB21.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#3062AF
Tritanopia (blue-blind)
#94486D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #952bb2;
/* rgb */ color: rgb(149, 43, 178);
/* oklch */ color: oklch(51.1% 0.210 317.8);
Tailwind
colors: {
  custom: {
    50: '#b870ca',
    500: '#952bb2',
    950: '#000000',
  },
}
SCSS
$custom: #952bb2;
$custom-light: #b870ca;
$custom-dark: #000000;
JSON
{
  "hex": "#952bb2",
  "rgb": {
    "r": 149,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 287.111,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51133,
    "c": 0.2101,
    "h": 317.8
  },
  "luminance": 0.11332
}

Semantic roles & 50–950 ramp

primary
#952BB2
secondary
#84C772
accent
#E44466
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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