#9C52E8#9C52E8

#9C52E8 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.0% C 0.218 H 303.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9C52E8
RGBrgb(156, 82, 232)
HSLhsl(270, 77%, 62%)
HSVhsv(270, 65%, 91%)
CMYKcmyk(32.8%, 64.7%, 0%, 9%)
CIE-LABlab(50.60, 58.16, -64.37)
CIE-LCHlch(50.60, 86.75, 312.10°)
OKLaboklab(59.95% 0.1188 -0.1828)
OKLCHoklch(59.95% 0.218 303)
XYZxyz(31.2897, 18.9287, 78.3335)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C52E8 #9EE852
analogous
#5253E8 #9C52E8 #E752E8
triadic
#9C52E8 #E89C52 #52E89C
tetradic
#9C52E8 #E85253 #9EE852 #52E8E7
square
#9C52E8 #E85253 #9EE852 #52E8E7
split-complementary
#9C52E8 #E8E752 #53E852
monochromatic
#5F16A9 #7D1EDF #9C52E8 #BB88EF #DABEF6

Accessibility & contrast

On white

4.39
#9C52E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#9C52E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C52E8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C52E8#FFFFFF#000000##000000
##9C52E81.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#1B78E5
Tritanopia (blue-blind)
#8D7396
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9c52e8;
/* rgb */ color: rgb(156, 82, 232);
/* oklch */ color: oklch(60.0% 0.218 303.0);
Tailwind
colors: {
  custom: {
    50: '#be87f0',
    500: '#9c52e8',
    950: '#000000',
  },
}
SCSS
$custom: #9c52e8;
$custom-light: #be87f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c52e8",
  "rgb": {
    "r": 156,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 269.6,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59952,
    "c": 0.21802,
    "h": 303
  },
  "luminance": 0.18929
}

Semantic roles & 50–950 ramp

primary
#9C52E8
secondary
#CBE7AF
accent
#D90D74
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C52E8

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

Preview Lab → · Contrast checker → · Palette generator →

#9C52E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva