#952BC6#952BC6

#952BC6 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.6% C 0.228 H 312.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#952BC6
RGBrgb(149, 43, 198)
HSLhsl(281, 64%, 47%)
HSVhsv(281, 78%, 78%)
CMYKcmyk(24.7%, 78.3%, 0%, 22.4%)
CIE-LABlab(41.52, 65.64, -59.65)
CIE-LCHlch(41.52, 88.70, 317.74°)
OKLaboklab(52.55% 0.1524 -0.1689)
OKLCHoklch(52.55% 0.228 312.1)
XYZxyz(23.4495, 12.1952, 54.5338)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952BC6 #5CC62B
analogous
#472BC6 #952BC6 #C62BAA
triadic
#952BC6 #C6952B #2BC695
tetradic
#952BC6 #C6472B #5CC62B #2BAAC6
square
#952BC6 #C6472B #5CC62B #2BAAC6
split-complementary
#952BC6 #AAC62B #2BC647
monochromatic
#491561 #6F2094 #952BC6 #B054DA #C787E5

Accessibility & contrast

On white

6.11
#952BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#952BC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952BC6
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952BC6#FFFFFF#000000##FFFFFF
##952BC61.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#0864C3
Tritanopia (blue-blind)
#8F5179
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #952bc6;
/* rgb */ color: rgb(149, 43, 198);
/* oklch */ color: oklch(52.6% 0.228 312.1);
Tailwind
colors: {
  custom: {
    50: '#b971d8',
    500: '#952bc6',
    950: '#000000',
  },
}
SCSS
$custom: #952bc6;
$custom-light: #b971d8;
$custom-dark: #000000;
JSON
{
  "hex": "#952bc6",
  "rgb": {
    "r": 149,
    "g": 43,
    "b": 198
  },
  "hsl": {
    "h": 281.032,
    "s": 64.315,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52551,
    "c": 0.22755,
    "h": 312.1
  },
  "luminance": 0.12195
}

Semantic roles & 50–950 ramp

primary
#952BC6
secondary
#98CE7F
accent
#E74075
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120815
muted
#817B83

Preview Lab

Preview with #952BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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