#AD52FF#AD52FF

#AD52FF is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 63.4% C 0.245 H 304.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AD52FF
RGBrgb(173, 82, 255)
HSLhsl(272, 100%, 66%)
HSVhsv(272, 68%, 100%)
CMYKcmyk(32.2%, 67.8%, 0%, 0%)
CIE-LABlab(54.17, 66.82, -71.35)
CIE-LCHlch(54.17, 97.76, 313.12°)
OKLaboklab(63.44% 0.1383 -0.2028)
OKLCHoklch(63.44% 0.245 304.3)
XYZxyz(38.2968, 22.1390, 96.8440)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD52FF #A4FF52
analogous
#5652FF #AD52FF #FF52FA
triadic
#AD52FF #FFAD52 #52FFAD
tetradic
#AD52FF #FF5652 #A4FF52 #52FAFF
square
#AD52FF #FF5652 #A4FF52 #52FAFF
split-complementary
#AD52FF #FAFF52 #52FF56
monochromatic
#7100D7 #9015FF #AD52FF #CA8FFF #E7CCFF

Accessibility & contrast

On white

3.87
#AD52FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#AD52FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD52FF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD52FF#FFFFFF#000000##000000
##AD52FF1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0081FB
Tritanopia (blue-blind)
#9D7AA3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ad52ff;
/* rgb */ color: rgb(173, 82, 255);
/* oklch */ color: oklch(63.4% 0.245 304.3);
Tailwind
colors: {
  custom: {
    50: '#cb89ff',
    500: '#ad52ff',
    950: '#000000',
  },
}
SCSS
$custom: #ad52ff;
$custom-light: #cb89ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ad52ff",
  "rgb": {
    "r": 173,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 271.561,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63444,
    "c": 0.24544,
    "h": 304.3
  },
  "luminance": 0.22139
}

Semantic roles & 50–950 ramp

primary
#AD52FF
secondary
#D5F3BA
accent
#E6006D
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #AD52FF

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

Preview Lab → · Contrast checker → · Palette generator →

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