#AD52EA#AD52EA

#AD52EA is a light, highly saturated violet. Relative luminance 0.209; OKLCH L 62.0% C 0.224 H 308.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AD52EA
RGBrgb(173, 82, 234)
HSLhsl(276, 78%, 62%)
HSVhsv(276, 65%, 92%)
CMYKcmyk(26.1%, 65%, 0%, 8.2%)
CIE-LABlab(52.80, 62.19, -61.86)
CIE-LCHlch(52.80, 87.71, 315.15°)
OKLaboklab(62.02% 0.1405 -0.1749)
OKLCHoklch(62.02% 0.224 308.8)
XYZxyz(35.0992, 20.8599, 80.0033)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD52EA #8FEA52
analogous
#6152EA #AD52EA #EA52DB
triadic
#AD52EA #EAAD52 #52EAAD
tetradic
#AD52EA #EA6152 #8FEA52 #52DBEA
square
#AD52EA #EA6152 #8FEA52 #52DBEA
split-complementary
#AD52EA #DBEA52 #52EA61
monochromatic
#7015AD #931CE3 #AD52EA #C789F1 #E1BFF7

Accessibility & contrast

On white

4.06
#AD52EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#AD52EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD52EA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD52EA#FFFFFF#000000##000000
##AD52EA1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#377FE7
Tritanopia (blue-blind)
#A47297
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ad52ea;
/* rgb */ color: rgb(173, 82, 234);
/* oklch */ color: oklch(62.0% 0.224 308.8);
Tailwind
colors: {
  custom: {
    50: '#ca88f1',
    500: '#ad52ea',
    950: '#000000',
  },
}
SCSS
$custom: #ad52ea;
$custom-light: #ca88f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ad52ea",
  "rgb": {
    "r": 173,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 275.921,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62019,
    "c": 0.2243,
    "h": 308.8
  },
  "luminance": 0.20859
}

Semantic roles & 50–950 ramp

primary
#AD52EA
secondary
#C6E8B0
accent
#DB0B5E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AD52EA

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

Preview Lab → · Contrast checker → · Palette generator →

#AD52EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva