#AD52E6#AD52E6

#AD52E6 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.8% C 0.220 H 309.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AD52E6
RGBrgb(173, 82, 230)
HSLhsl(277, 75%, 61%)
HSVhsv(277, 64%, 90%)
CMYKcmyk(24.8%, 64.3%, 0%, 9.8%)
CIE-LABlab(52.55, 61.32, -60.01)
CIE-LCHlch(52.55, 85.80, 315.62°)
OKLaboklab(61.76% 0.1407 -0.1695)
OKLCHoklch(61.76% 0.22 309.7)
XYZxyz(34.5310, 20.6327, 77.0110)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD52E6 #8BE652
analogous
#6352E6 #AD52E6 #E652D5
triadic
#AD52E6 #E6AD52 #52E6AD
tetradic
#AD52E6 #E66352 #8BE652 #52D5E6
square
#AD52E6 #E66352 #8BE652 #52D5E6
split-complementary
#AD52E6 #D5E652 #52E663
monochromatic
#6F18A6 #9320DB #AD52E6 #C687EE #E0BDF5

Accessibility & contrast

On white

4.10
#AD52E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#AD52E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD52E6
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD52E6#FFFFFF#000000##000000
##AD52E61.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#3C7FE3
Tritanopia (blue-blind)
#A57095
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ad52e6;
/* rgb */ color: rgb(173, 82, 230);
/* oklch */ color: oklch(61.8% 0.220 309.7);
Tailwind
colors: {
  custom: {
    50: '#ca88ef',
    500: '#ad52e6',
    950: '#000000',
  },
}
SCSS
$custom: #ad52e6;
$custom-light: #ca88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ad52e6",
  "rgb": {
    "r": 173,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 276.892,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61759,
    "c": 0.22028,
    "h": 309.7
  },
  "luminance": 0.20632
}

Semantic roles & 50–950 ramp

primary
#AD52E6
secondary
#C4E6AE
accent
#D70F5C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AD52E6

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

Preview Lab → · Contrast checker → · Palette generator →

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