#AD52ED#AD52ED

#AD52ED is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.2% C 0.227 H 308.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AD52ED
RGBrgb(173, 82, 237)
HSLhsl(275, 81%, 63%)
HSVhsv(275, 65%, 93%)
CMYKcmyk(27%, 65.4%, 0%, 7.1%)
CIE-LABlab(52.99, 62.84, -63.24)
CIE-LCHlch(52.99, 89.15, 314.82°)
OKLaboklab(62.22% 0.1402 -0.1789)
OKLCHoklch(62.22% 0.227 308.1)
XYZxyz(35.5338, 21.0338, 82.2923)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD52ED #92ED52
analogous
#6052ED #AD52ED #ED52DF
triadic
#AD52ED #EDAD52 #52EDAD
tetradic
#AD52ED #ED6052 #92ED52 #52DFED
square
#AD52ED #ED6052 #92ED52 #52DFED
split-complementary
#AD52ED #DFED52 #52ED60
monochromatic
#7013B2 #931BE7 #AD52ED #C789F3 #E2C1F9

Accessibility & contrast

On white

4.03
#AD52ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#AD52ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD52ED
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD52ED#FFFFFF#000000##000000
##AD52ED1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#337FEA
Tritanopia (blue-blind)
#A37399
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ad52ed;
/* rgb */ color: rgb(173, 82, 237);
/* oklch */ color: oklch(62.2% 0.227 308.1);
Tailwind
colors: {
  custom: {
    50: '#ca88f4',
    500: '#ad52ed',
    950: '#000000',
  },
}
SCSS
$custom: #ad52ed;
$custom-light: #ca88f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ad52ed",
  "rgb": {
    "r": 173,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 275.226,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62217,
    "c": 0.22733,
    "h": 308.1
  },
  "luminance": 0.21033
}

Semantic roles & 50–950 ramp

primary
#AD52ED
secondary
#C8EAB1
accent
#DE0860
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AD52ED

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

Preview Lab → · Contrast checker → · Palette generator →

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