#AD52DE#AD52DE

#AD52DE is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.2% C 0.212 H 311.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AD52DE
RGBrgb(173, 82, 222)
HSLhsl(279, 68%, 60%)
HSVhsv(279, 63%, 87%)
CMYKcmyk(22.1%, 63.1%, 0%, 12.9%)
CIE-LABlab(52.06, 59.61, -56.28)
CIE-LCHlch(52.06, 81.98, 316.65°)
OKLaboklab(61.25% 0.1411 -0.1585)
OKLCHoklch(61.25% 0.212 311.7)
XYZxyz(33.4333, 20.1936, 71.2296)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD52DE #83DE52
analogous
#6752DE #AD52DE #DE52C9
triadic
#AD52DE #DEAD52 #52DEAD
tetradic
#AD52DE #DE6752 #83DE52 #52C9DE
square
#AD52DE #DE6752 #83DE52 #52C9DE
split-complementary
#AD52DE #C9DE52 #52DE67
monochromatic
#6D1D99 #9227CC #AD52DE #C585E8 #DEB9F2

Accessibility & contrast

On white

4.17
#AD52DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#AD52DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD52DE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD52DE#FFFFFF#000000##000000
##AD52DE1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0978E2
Deuteranopia (green-blind)
#457EDB
Tritanopia (blue-blind)
#A76D91
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ad52de;
/* rgb */ color: rgb(173, 82, 222);
/* oklch */ color: oklch(61.2% 0.212 311.7);
Tailwind
colors: {
  custom: {
    50: '#c988e9',
    500: '#ad52de',
    950: '#000000',
  },
}
SCSS
$custom: #ad52de;
$custom-light: #c988e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ad52de",
  "rgb": {
    "r": 173,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 279,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61249,
    "c": 0.21223,
    "h": 311.7
  },
  "luminance": 0.20193
}

Semantic roles & 50–950 ramp

primary
#AD52DE
secondary
#BEE1AB
accent
#EB3D7A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AD52DE

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

Preview Lab → · Contrast checker → · Palette generator →

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