#AD52EB#AD52EB

#AD52EB is a light, highly saturated violet. Relative luminance 0.209; OKLCH L 62.1% C 0.225 H 308.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AD52EB
RGBrgb(173, 82, 235)
HSLhsl(276, 79%, 62%)
HSVhsv(276, 65%, 92%)
CMYKcmyk(26.4%, 65.1%, 0%, 7.8%)
CIE-LABlab(52.86, 62.40, -62.32)
CIE-LCHlch(52.86, 88.19, 315.04°)
OKLaboklab(62.09% 0.1404 -0.1762)
OKLCHoklch(62.09% 0.225 308.5)
XYZxyz(35.2432, 20.9175, 80.7620)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD52EB #90EB52
analogous
#6052EB #AD52EB #EB52DD
triadic
#AD52EB #EBAD52 #52EBAD
tetradic
#AD52EB #EB6052 #90EB52 #52DDEB
square
#AD52EB #EB6052 #90EB52 #52DDEB
split-complementary
#AD52EB #DDEB52 #52EB60
monochromatic
#7014AE #931BE5 #AD52EB #C789F1 #E1C0F8

Accessibility & contrast

On white

4.05
#AD52EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#AD52EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD52EB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD52EB#FFFFFF#000000##000000
##AD52EB1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#367FE8
Tritanopia (blue-blind)
#A47298
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ad52eb;
/* rgb */ color: rgb(173, 82, 235);
/* oklch */ color: oklch(62.1% 0.225 308.5);
Tailwind
colors: {
  custom: {
    50: '#ca88f2',
    500: '#ad52eb',
    950: '#000000',
  },
}
SCSS
$custom: #ad52eb;
$custom-light: #ca88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ad52eb",
  "rgb": {
    "r": 173,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 275.686,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62085,
    "c": 0.22531,
    "h": 308.5
  },
  "luminance": 0.20917
}

Semantic roles & 50–950 ramp

primary
#AD52EB
secondary
#C7E8B0
accent
#DC0A5F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AD52EB

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

Preview Lab → · Contrast checker → · Palette generator →

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