#952AC1#952AC1

#952AC1 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.1% C 0.224 H 313.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#952AC1
RGBrgb(149, 42, 193)
HSLhsl(283, 64%, 46%)
HSVhsv(283, 78%, 76%)
CMYKcmyk(22.8%, 78.2%, 0%, 24.3%)
CIE-LABlab(41.05, 64.97, -57.50)
CIE-LCHlch(41.05, 86.76, 318.49°)
OKLaboklab(52.11% 0.1542 -0.1626)
OKLCHoklch(52.11% 0.224 313.5)
XYZxyz(22.8463, 11.8965, 51.5345)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952AC1 #56C12A
analogous
#4A2AC1 #952AC1 #C12AA1
triadic
#952AC1 #C1952A #2AC195
tetradic
#952AC1 #C14A2A #56C12A #2AA1C1
square
#952AC1 #C14A2A #56C12A #2AA1C1
split-complementary
#952AC1 #A1C12A #2AC14A
monochromatic
#47145C #6E1F8F #952AC1 #B14FD9 #C782E4

Accessibility & contrast

On white

6.21
#952AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#952AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952AC1
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952AC1#FFFFFF#000000##FFFFFF
##952AC11.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#1763BE
Tritanopia (blue-blind)
#904E75
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #952ac1;
/* rgb */ color: rgb(149, 42, 193);
/* oklch */ color: oklch(52.1% 0.224 313.5);
Tailwind
colors: {
  custom: {
    50: '#b970d5',
    500: '#952ac1',
    950: '#000000',
  },
}
SCSS
$custom: #952ac1;
$custom-light: #b970d5;
$custom-dark: #000000;
JSON
{
  "hex": "#952ac1",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 193
  },
  "hsl": {
    "h": 282.517,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52106,
    "c": 0.2241,
    "h": 313.5
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#952AC1
secondary
#92CD7A
accent
#E74171
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #952AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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