#AD5DEC#AD5DEC

#AD5DEC is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.5% C 0.212 H 307.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AD5DEC
RGBrgb(173, 93, 236)
HSLhsl(274, 79%, 65%)
HSVhsv(274, 61%, 93%)
CMYKcmyk(26.7%, 60.6%, 0%, 7.5%)
CIE-LABlab(54.83, 57.40, -59.70)
CIE-LCHlch(54.83, 82.82, 313.87°)
OKLaboklab(63.53% 0.1278 -0.1686)
OKLCHoklch(63.53% 0.212 307.2)
XYZxyz(36.2851, 22.7695, 81.8240)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD5DEC #9CEC5D
analogous
#655DEC #AD5DEC #EC5DE4
triadic
#AD5DEC #ECAD5D #5DECAD
tetradic
#AD5DEC #EC655D #9CEC5D #5DE4EC
square
#AD5DEC #EC655D #9CEC5D #5DE4EC
split-complementary
#AD5DEC #E4EC5D #5DEC65
monochromatic
#7116B9 #9126E6 #AD5DEC #C994F2 #E4CBF9

Accessibility & contrast

On white

3.78
#AD5DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#AD5DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD5DEC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD5DEC#FFFFFF#000000##000000
##AD5DEC1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1480F1
Deuteranopia (green-blind)
#4384E9
Tritanopia (blue-blind)
#A37A9C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ad5dec;
/* rgb */ color: rgb(173, 93, 236);
/* oklch */ color: oklch(63.5% 0.212 307.2);
Tailwind
colors: {
  custom: {
    50: '#c98ff3',
    500: '#ad5dec',
    950: '#000000',
  },
}
SCSS
$custom: #ad5dec;
$custom-light: #c98ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#ad5dec",
  "rgb": {
    "r": 173,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 273.566,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63532,
    "c": 0.21159,
    "h": 307.2
  },
  "luminance": 0.22769
}

Semantic roles & 50–950 ramp

primary
#AD5DEC
secondary
#CFEBBA
accent
#DB0A66
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AD5DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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