#952BC2#952BC2

#952BC2 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.3% C 0.224 H 313.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#952BC2
RGBrgb(149, 43, 194)
HSLhsl(282, 64%, 46%)
HSVhsv(282, 78%, 76%)
CMYKcmyk(23.2%, 77.8%, 0%, 23.9%)
CIE-LABlab(41.24, 64.84, -57.78)
CIE-LCHlch(41.24, 86.85, 318.29°)
OKLaboklab(52.26% 0.1532 -0.1635)
OKLCHoklch(52.26% 0.224 313.1)
XYZxyz(22.9942, 12.0131, 52.1360)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952BC2 #58C22B
analogous
#4A2BC2 #952BC2 #C22BA4
triadic
#952BC2 #C2952B #2BC295
tetradic
#952BC2 #C24A2B #58C22B #2BA4C2
square
#952BC2 #C24A2B #58C22B #2BA4C2
split-complementary
#952BC2 #A4C22B #2BC24A
monochromatic
#48155E #6F2090 #952BC2 #B052D9 #C784E4

Accessibility & contrast

On white

6.17
#952BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#952BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952BC2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952BC2#FFFFFF#000000##FFFFFF
##952BC21.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#1663BF
Tritanopia (blue-blind)
#904F76
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #952bc2;
/* rgb */ color: rgb(149, 43, 194);
/* oklch */ color: oklch(52.3% 0.224 313.1);
Tailwind
colors: {
  custom: {
    50: '#b971d5',
    500: '#952bc2',
    950: '#000000',
  },
}
SCSS
$custom: #952bc2;
$custom-light: #b971d5;
$custom-dark: #000000;
JSON
{
  "hex": "#952bc2",
  "rgb": {
    "r": 149,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 282.119,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52259,
    "c": 0.22403,
    "h": 313.1
  },
  "luminance": 0.12012
}

Semantic roles & 50–950 ramp

primary
#952BC2
secondary
#94CD7C
accent
#E74172
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #952BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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