#AD5FDC#AD5FDC

#AD5FDC is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.8% C 0.192 H 310.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AD5FDC
RGBrgb(173, 95, 220)
HSLhsl(277, 64%, 62%)
HSVhsv(277, 57%, 86%)
CMYKcmyk(21.4%, 56.8%, 0%, 13.7%)
CIE-LABlab(54.28, 52.86, -51.60)
CIE-LCHlch(54.28, 73.87, 315.69°)
OKLaboklab(62.83% 0.1254 -0.1449)
OKLCHoklch(62.83% 0.192 310.9)
XYZxyz(34.2417, 22.2367, 70.1846)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD5FDC #8EDC5F
analogous
#6F5FDC #AD5FDC #DC5FCD
triadic
#AD5FDC #DCAD5F #5FDCAD
tetradic
#AD5FDC #DC6F5F #8EDC5F #5FCDDC
square
#AD5FDC #DC6F5F #8EDC5F #5FCDDC
split-complementary
#AD5FDC #CDDC5F #5FDC6F
monochromatic
#70239E #932ED0 #AD5FDC #C791E7 #E0C3F2

Accessibility & contrast

On white

3.86
#AD5FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#AD5FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD5FDC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD5FDC#FFFFFF#000000##000000
##AD5FDC1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#367EE0
Deuteranopia (green-blind)
#5483D9
Tritanopia (blue-blind)
#A77595
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ad5fdc;
/* rgb */ color: rgb(173, 95, 220);
/* oklch */ color: oklch(62.8% 0.192 310.9);
Tailwind
colors: {
  custom: {
    50: '#c890e7',
    500: '#ad5fdc',
    950: '#000000',
  },
}
SCSS
$custom: #ad5fdc;
$custom-light: #c890e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ad5fdc",
  "rgb": {
    "r": 173,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 277.44,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62827,
    "c": 0.19158,
    "h": 310.9
  },
  "luminance": 0.22236
}

Semantic roles & 50–950 ramp

primary
#AD5FDC
secondary
#C6E3B4
accent
#CC1A5D
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AD5FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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