#AD52EE#AD52EE

#AD52EE is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.3% C 0.228 H 307.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AD52EE
RGBrgb(173, 82, 238)
HSLhsl(275, 82%, 63%)
HSVhsv(275, 66%, 93%)
CMYKcmyk(27.3%, 65.5%, 0%, 6.7%)
CIE-LABlab(53.05, 63.06, -63.69)
CIE-LCHlch(53.05, 89.63, 314.71°)
OKLaboklab(62.28% 0.1402 -0.1803)
OKLCHoklch(62.28% 0.228 307.9)
XYZxyz(35.6803, 21.0924, 83.0639)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD52EE #93EE52
analogous
#5F52EE #AD52EE #EE52E1
triadic
#AD52EE #EEAD52 #52EEAD
tetradic
#AD52EE #EE5F52 #93EE52 #52E1EE
square
#AD52EE #EE5F52 #93EE52 #52E1EE
split-complementary
#AD52EE #E1EE52 #52EE5F
monochromatic
#7012B4 #931AE9 #AD52EE #C78AF3 #E2C1F9

Accessibility & contrast

On white

4.02
#AD52EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#AD52EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD52EE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD52EE#FFFFFF#000000##000000
##AD52EE1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#3180EB
Tritanopia (blue-blind)
#A37399
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ad52ee;
/* rgb */ color: rgb(173, 82, 238);
/* oklch */ color: oklch(62.3% 0.228 307.9);
Tailwind
colors: {
  custom: {
    50: '#ca88f4',
    500: '#ad52ee',
    950: '#000000',
  },
}
SCSS
$custom: #ad52ee;
$custom-light: #ca88f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ad52ee",
  "rgb": {
    "r": 173,
    "g": 82,
    "b": 238
  },
  "hsl": {
    "h": 275,
    "s": 82.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62283,
    "c": 0.22834,
    "h": 307.9
  },
  "luminance": 0.21092
}

Semantic roles & 50–950 ramp

primary
#AD52EE
secondary
#C9EAB2
accent
#DE0761
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AD52EE

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

Preview Lab → · Contrast checker → · Palette generator →

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