#9C52DC#9C52DC

#9C52DC is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.1% C 0.205 H 305.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9C52DC
RGBrgb(156, 82, 220)
HSLhsl(272, 66%, 59%)
HSVhsv(272, 63%, 86%)
CMYKcmyk(29.1%, 62.7%, 0%, 13.7%)
CIE-LABlab(49.82, 55.36, -58.85)
CIE-LCHlch(49.82, 80.80, 313.25°)
OKLaboklab(59.14% 0.1197 -0.1666)
OKLCHoklch(59.14% 0.205 305.7)
XYZxyz(29.6431, 18.2700, 69.6611)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C52DC #92DC52
analogous
#5752DC #9C52DC #DC52D7
triadic
#9C52DC #DC9C52 #52DC9C
tetradic
#9C52DC #DC5752 #92DC52 #52D7DC
square
#9C52DC #DC5752 #92DC52 #52D7DC
split-complementary
#9C52DC #D7DC52 #52DC57
monochromatic
#5E1E95 #7E29C8 #9C52DC #B985E6 #D6B8F1

Accessibility & contrast

On white

4.51
#9C52DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9C52DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C52DC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C52DC#FFFFFF#000000##000000
##9C52DC1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#3277D9
Tritanopia (blue-blind)
#916F90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9c52dc;
/* rgb */ color: rgb(156, 82, 220);
/* oklch */ color: oklch(59.1% 0.205 305.7);
Tailwind
colors: {
  custom: {
    50: '#bd87e8',
    500: '#9c52dc',
    950: '#000000',
  },
}
SCSS
$custom: #9c52dc;
$custom-light: #bd87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c52dc",
  "rgb": {
    "r": 156,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 272.174,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59139,
    "c": 0.20511,
    "h": 305.7
  },
  "luminance": 0.1827
}

Semantic roles & 50–950 ramp

primary
#9C52DC
secondary
#C3E0AA
accent
#E93F8E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9C52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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