#AD5AF2#AD5AF2

#AD5AF2 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.5% C 0.222 H 306.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AD5AF2
RGBrgb(173, 90, 242)
HSLhsl(273, 85%, 65%)
HSVhsv(273, 63%, 95%)
CMYKcmyk(28.5%, 62.8%, 0%, 5.1%)
CIE-LABlab(54.67, 60.20, -63.33)
CIE-LCHlch(54.67, 87.38, 313.55°)
OKLaboklab(63.53% 0.131 -0.1792)
OKLCHoklch(63.53% 0.222 306.2)
XYZxyz(36.9133, 22.6077, 86.4063)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD5AF2 #9FF25A
analogous
#615AF2 #AD5AF2 #F25AEB
triadic
#AD5AF2 #F2AD5A #5AF2AD
tetradic
#AD5AF2 #F2615A #9FF25A #5AEBF2
square
#AD5AF2 #F2615A #9FF25A #5AEBF2
split-complementary
#AD5AF2 #EBF25A #5AF261
monochromatic
#710FC2 #9121EE #AD5AF2 #C993F6 #E5CBFB

Accessibility & contrast

On white

3.80
#AD5AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#AD5AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD5AF2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD5AF2#FFFFFF#000000##000000
##AD5AF21.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#3883EF
Tritanopia (blue-blind)
#A17A9E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ad5af2;
/* rgb */ color: rgb(173, 90, 242);
/* oklch */ color: oklch(63.5% 0.222 306.2);
Tailwind
colors: {
  custom: {
    50: '#ca8df7',
    500: '#ad5af2',
    950: '#000000',
  },
}
SCSS
$custom: #ad5af2;
$custom-light: #ca8df7;
$custom-dark: #000000;
JSON
{
  "hex": "#ad5af2",
  "rgb": {
    "r": 173,
    "g": 90,
    "b": 242
  },
  "hsl": {
    "h": 272.763,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63528,
    "c": 0.22202,
    "h": 306.2
  },
  "luminance": 0.22607
}

Semantic roles & 50–950 ramp

primary
#AD5AF2
secondary
#D2EEBA
accent
#E20469
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140D17
muted
#827D85

Preview Lab

Preview with #AD5AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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