#9A52DC#9A52DC

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

Color values

HEX#9A52DC
RGBrgb(154, 82, 220)
HSLhsl(271, 66%, 59%)
HSVhsv(271, 63%, 86%)
CMYKcmyk(30%, 62.7%, 0%, 13.7%)
CIE-LABlab(49.58, 54.92, -59.25)
CIE-LCHlch(49.58, 80.78, 312.83°)
OKLaboklab(58.91% 0.1171 -0.1678)
OKLCHoklch(58.91% 0.205 304.9)
XYZxyz(29.2591, 18.0721, 69.6431)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A52DC #94DC52
analogous
#5552DC #9A52DC #DC52D9
triadic
#9A52DC #DC9A52 #52DC9A
tetradic
#9A52DC #DC5552 #94DC52 #52D9DC
square
#9A52DC #DC5552 #94DC52 #52D9DC
split-complementary
#9A52DC #D9DC52 #52DC55
monochromatic
#5C1E95 #7C29C8 #9A52DC #B885E6 #D5B8F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A52DC#FFFFFF#000000##000000
##9A52DC1.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)
#0074E0
Deuteranopia (green-blind)
#2F76D9
Tritanopia (blue-blind)
#8E6F90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9a52dc;
/* rgb */ color: rgb(154, 82, 220);
/* oklch */ color: oklch(58.9% 0.205 304.9);
Tailwind
colors: {
  custom: {
    50: '#bc86e8',
    500: '#9a52dc',
    950: '#000000',
  },
}
SCSS
$custom: #9a52dc;
$custom-light: #bc86e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a52dc",
  "rgb": {
    "r": 154,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 271.304,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58914,
    "c": 0.20461,
    "h": 304.9
  },
  "luminance": 0.18072
}

Semantic roles & 50–950 ramp

primary
#9A52DC
secondary
#C4E0AA
accent
#E93F90
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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