#9C52CA#9C52CA

#9C52CA is a mid, vivid violet. Relative luminance 0.174; OKLCH L 58.0% C 0.186 H 310.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9C52CA
RGBrgb(156, 82, 202)
HSLhsl(277, 53%, 56%)
HSVhsv(277, 59%, 79%)
CMYKcmyk(22.8%, 59.4%, 0%, 20.8%)
CIE-LABlab(48.72, 51.28, -50.33)
CIE-LCHlch(48.72, 71.85, 315.54°)
OKLaboklab(57.99% 0.1201 -0.1416)
OKLCHoklch(57.99% 0.186 310.3)
XYZxyz(27.3862, 17.3673, 57.7752)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C52CA #80CA52
analogous
#6052CA #9C52CA #CA52BC
triadic
#9C52CA #CA9C52 #52CA9C
tetradic
#9C52CA #CA6052 #80CA52 #52BCCA
square
#9C52CA #CA6052 #80CA52 #52BCCA
split-complementary
#9C52CA #BCCA52 #52CA60
monochromatic
#5B267C #7D34AB #9C52CA #B781D8 #D2B0E7

Accessibility & contrast

On white

4.69
#9C52CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9C52CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C52CA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C52CA#FFFFFF#000000##FFFFFF
##9C52CA1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2570CE
Deuteranopia (green-blind)
#4575C7
Tritanopia (blue-blind)
#966886
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9c52ca;
/* rgb */ color: rgb(156, 82, 202);
/* oklch */ color: oklch(58.0% 0.186 310.3);
Tailwind
colors: {
  custom: {
    50: '#bc86db',
    500: '#9c52ca',
    950: '#000000',
  },
}
SCSS
$custom: #9c52ca;
$custom-light: #bc86db;
$custom-dark: #000000;
JSON
{
  "hex": "#9c52ca",
  "rgb": {
    "r": 156,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 277,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57985,
    "c": 0.18569,
    "h": 310.3
  },
  "luminance": 0.17367
}

Semantic roles & 50–950 ramp

primary
#9C52CA
secondary
#B6D5A3
accent
#DD4B83
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C52CA

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

Preview Lab → · Contrast checker → · Palette generator →

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