#AD57DC#AD57DC

#AD57DC is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.8% C 0.203 H 311.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AD57DC
RGBrgb(173, 87, 220)
HSLhsl(279, 66%, 60%)
HSVhsv(279, 60%, 86%)
CMYKcmyk(21.4%, 60.5%, 0%, 13.7%)
CIE-LABlab(52.81, 56.81, -53.95)
CIE-LCHlch(52.81, 78.35, 316.48°)
OKLaboklab(61.75% 0.1353 -0.1517)
OKLCHoklch(61.75% 0.203 311.7)
XYZxyz(33.5577, 20.8687, 69.9566)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD57DC #86DC57
analogous
#6A57DC #AD57DC #DC57C8
triadic
#AD57DC #DCAD57 #57DCAD
tetradic
#AD57DC #DC6A57 #86DC57 #57C8DC
square
#AD57DC #DC6A57 #86DC57 #57C8DC
split-complementary
#AD57DC #C8DC57 #57DC6A
monochromatic
#6E2099 #932ACB #AD57DC #C68AE7 #DEBCF1

Accessibility & contrast

On white

4.06
#AD57DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#AD57DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD57DC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD57DC#FFFFFF#000000##000000
##AD57DC1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#247AE0
Deuteranopia (green-blind)
#4C80D9
Tritanopia (blue-blind)
#A87092
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ad57dc;
/* rgb */ color: rgb(173, 87, 220);
/* oklch */ color: oklch(61.8% 0.203 311.7);
Tailwind
colors: {
  custom: {
    50: '#c98be7',
    500: '#ad57dc',
    950: '#000000',
  },
}
SCSS
$custom: #ad57dc;
$custom-light: #c98be7;
$custom-dark: #000000;
JSON
{
  "hex": "#ad57dc",
  "rgb": {
    "r": 173,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 278.797,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61754,
    "c": 0.20325,
    "h": 311.7
  },
  "luminance": 0.20868
}

Semantic roles & 50–950 ramp

primary
#AD57DC
secondary
#C0E1AE
accent
#CD1858
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AD57DC

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

Preview Lab → · Contrast checker → · Palette generator →

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