#952AC3#952AC3

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

Color values

HEX#952AC3
RGBrgb(149, 42, 195)
HSLhsl(282, 65%, 46%)
HSVhsv(282, 78%, 76%)
CMYKcmyk(23.6%, 78.5%, 0%, 23.5%)
CIE-LABlab(41.19, 65.37, -58.44)
CIE-LCHlch(41.19, 87.68, 318.21°)
OKLaboklab(52.25% 0.1538 -0.1654)
OKLCHoklch(52.25% 0.226 312.9)
XYZxyz(23.0709, 11.9863, 52.7175)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952AC3 #58C32A
analogous
#492AC3 #952AC3 #C32AA5
triadic
#952AC3 #C3952A #2AC395
tetradic
#952AC3 #C3492A #58C32A #2AA5C3
square
#952AC3 #C3492A #58C32A #2AA5C3
split-complementary
#952AC3 #A5C32A #2AC349
monochromatic
#48145E #6F1F91 #952AC3 #B051D9 #C783E4

Accessibility & contrast

On white

6.18
#952AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #952AC3
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952AC3#FFFFFF#000000##FFFFFF
##952AC31.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#1263C0
Tritanopia (blue-blind)
#904F77
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #952ac3;
/* rgb */ color: rgb(149, 42, 195);
/* oklch */ color: oklch(52.3% 0.226 312.9);
Tailwind
colors: {
  custom: {
    50: '#b970d6',
    500: '#952ac3',
    950: '#000000',
  },
}
SCSS
$custom: #952ac3;
$custom-light: #b970d6;
$custom-dark: #000000;
JSON
{
  "hex": "#952ac3",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 195
  },
  "hsl": {
    "h": 281.961,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52251,
    "c": 0.22585,
    "h": 312.9
  },
  "luminance": 0.11986
}

Semantic roles & 50–950 ramp

primary
#952AC3
secondary
#94CD7B
accent
#E84073
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #952AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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