#AD52EC#AD52EC

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

Color values

HEX#AD52EC
RGBrgb(173, 82, 236)
HSLhsl(275, 80%, 62%)
HSVhsv(275, 65%, 93%)
CMYKcmyk(26.7%, 65.3%, 0%, 7.5%)
CIE-LABlab(52.92, 62.62, -62.78)
CIE-LCHlch(52.92, 88.67, 314.93°)
OKLaboklab(62.15% 0.1403 -0.1776)
OKLCHoklch(62.15% 0.226 308.3)
XYZxyz(35.3881, 20.9755, 81.5250)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD52EC #91EC52
analogous
#6052EC #AD52EC #EC52DE
triadic
#AD52EC #ECAD52 #52ECAD
tetradic
#AD52EC #EC6052 #91EC52 #52DEEC
square
#AD52EC #EC6052 #91EC52 #52DEEC
split-complementary
#AD52EC #DEEC52 #52EC60
monochromatic
#7013B0 #931BE6 #AD52EC #C789F2 #E1C0F8

Accessibility & contrast

On white

4.04
#AD52EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#AD52EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD52EC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD52EC#FFFFFF#000000##000000
##AD52EC1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#347FE9
Tritanopia (blue-blind)
#A37298
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ad52ec;
/* rgb */ color: rgb(173, 82, 236);
/* oklch */ color: oklch(62.2% 0.226 308.3);
Tailwind
colors: {
  custom: {
    50: '#ca88f3',
    500: '#ad52ec',
    950: '#000000',
  },
}
SCSS
$custom: #ad52ec;
$custom-light: #ca88f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ad52ec",
  "rgb": {
    "r": 173,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 275.455,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62151,
    "c": 0.22632,
    "h": 308.3
  },
  "luminance": 0.20975
}

Semantic roles & 50–950 ramp

primary
#AD52EC
secondary
#C8E9B1
accent
#DD0960
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AD52EC

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

Preview Lab → · Contrast checker → · Palette generator →

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