#AD52DF#AD52DF

#AD52DF is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.3% C 0.213 H 311.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AD52DF
RGBrgb(173, 82, 223)
HSLhsl(279, 69%, 60%)
HSVhsv(279, 63%, 87%)
CMYKcmyk(22.4%, 63.2%, 0%, 12.5%)
CIE-LABlab(52.12, 59.82, -56.75)
CIE-LCHlch(52.12, 82.46, 316.51°)
OKLaboklab(61.31% 0.1411 -0.1599)
OKLCHoklch(61.31% 0.213 311.4)
XYZxyz(33.5677, 20.2473, 71.9376)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD52DF #84DF52
analogous
#6652DF #AD52DF #DF52CB
triadic
#AD52DF #DFAD52 #52DFAD
tetradic
#AD52DF #DF6652 #84DF52 #52CBDF
square
#AD52DF #DF6652 #84DF52 #52CBDF
split-complementary
#AD52DF #CBDF52 #52DF66
monochromatic
#6E1D9A #9226CE #AD52DF #C586E9 #DEB9F2

Accessibility & contrast

On white

4.16
#AD52DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#AD52DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD52DF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD52DF#FFFFFF#000000##000000
##AD52DF1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0478E3
Deuteranopia (green-blind)
#447EDC
Tritanopia (blue-blind)
#A76E91
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ad52df;
/* rgb */ color: rgb(173, 82, 223);
/* oklch */ color: oklch(61.3% 0.213 311.4);
Tailwind
colors: {
  custom: {
    50: '#c988ea',
    500: '#ad52df',
    950: '#000000',
  },
}
SCSS
$custom: #ad52df;
$custom-light: #c988ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ad52df",
  "rgb": {
    "r": 173,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 278.723,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61312,
    "c": 0.21324,
    "h": 311.4
  },
  "luminance": 0.20247
}

Semantic roles & 50–950 ramp

primary
#AD52DF
secondary
#BEE2AB
accent
#EC3C7A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AD52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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