#9A52DA#9A52DA

#9A52DA is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.8% C 0.202 H 305.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9A52DA
RGBrgb(154, 82, 218)
HSLhsl(272, 65%, 59%)
HSVhsv(272, 62%, 85%)
CMYKcmyk(29.4%, 62.4%, 0%, 14.5%)
CIE-LABlab(49.46, 54.45, -58.31)
CIE-LCHlch(49.46, 79.79, 313.04°)
OKLaboklab(58.78% 0.1172 -0.1651)
OKLCHoklch(58.78% 0.202 305.4)
XYZxyz(28.9958, 17.9668, 68.2565)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A52DA #92DA52
analogous
#5652DA #9A52DA #DA52D6
triadic
#9A52DA #DA9A52 #52DA9A
tetradic
#9A52DA #DA5652 #92DA52 #52D6DA
square
#9A52DA #DA5652 #92DA52 #52D6DA
split-complementary
#9A52DA #D6DA52 #52DA56
monochromatic
#5C1F92 #7C2AC5 #9A52DA #B784E5 #D5B7F0

Accessibility & contrast

On white

4.57
#9A52DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9A52DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A52DA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A52DA#FFFFFF#000000##000000
##9A52DA1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DE
Deuteranopia (green-blind)
#3276D7
Tritanopia (blue-blind)
#8F6E8F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9a52da;
/* rgb */ color: rgb(154, 82, 218);
/* oklch */ color: oklch(58.8% 0.202 305.4);
Tailwind
colors: {
  custom: {
    50: '#bc86e6',
    500: '#9a52da',
    950: '#000000',
  },
}
SCSS
$custom: #9a52da;
$custom-light: #bc86e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a52da",
  "rgb": {
    "r": 154,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 271.765,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58781,
    "c": 0.20244,
    "h": 305.4
  },
  "luminance": 0.17967
}

Semantic roles & 50–950 ramp

primary
#9A52DA
secondary
#C2DFA9
accent
#E8408F
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A52DA

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

Preview Lab → · Contrast checker → · Palette generator →

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