#9C52D8#9C52D8

#9C52D8 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.9% C 0.201 H 306.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9C52D8
RGBrgb(156, 82, 216)
HSLhsl(273, 63%, 58%)
HSVhsv(273, 62%, 85%)
CMYKcmyk(27.8%, 62%, 0%, 15.3%)
CIE-LABlab(49.57, 54.44, -56.98)
CIE-LCHlch(49.57, 78.81, 313.69°)
OKLaboklab(58.88% 0.1199 -0.1611)
OKLCHoklch(58.88% 0.201 306.7)
XYZxyz(29.1196, 18.0607, 66.9044)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C52D8 #8ED852
analogous
#5952D8 #9C52D8 #D852D1
triadic
#9C52D8 #D89C52 #52D89C
tetradic
#9C52D8 #D85952 #8ED852 #52D1D8
square
#9C52D8 #D85952 #8ED852 #52D1D8
split-complementary
#9C52D8 #D1D852 #52D859
monochromatic
#5E208F #7E2CC1 #9C52D8 #B984E3 #D5B6EF

Accessibility & contrast

On white

4.55
#9C52D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9C52D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C52D8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C52D8#FFFFFF#000000##000000
##9C52D81.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DC
Deuteranopia (green-blind)
#3776D5
Tritanopia (blue-blind)
#926D8E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9c52d8;
/* rgb */ color: rgb(156, 82, 216);
/* oklch */ color: oklch(58.9% 0.201 306.7);
Tailwind
colors: {
  custom: {
    50: '#bd87e5',
    500: '#9c52d8',
    950: '#000000',
  },
}
SCSS
$custom: #9c52d8;
$custom-light: #bd87e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c52d8",
  "rgb": {
    "r": 156,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 273.134,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58876,
    "c": 0.2008,
    "h": 306.7
  },
  "luminance": 0.1806
}

Semantic roles & 50–950 ramp

primary
#9C52D8
secondary
#C0DDA8
accent
#E6428B
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9C52D8

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

Preview Lab → · Contrast checker → · Palette generator →

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