#AD5AF7#AD5AF7

#AD5AF7 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.9% C 0.227 H 305.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AD5AF7
RGBrgb(173, 90, 247)
HSLhsl(272, 91%, 66%)
HSVhsv(272, 64%, 97%)
CMYKcmyk(30%, 63.6%, 0%, 3.1%)
CIE-LABlab(54.98, 61.33, -65.60)
CIE-LCHlch(54.98, 89.81, 313.07°)
OKLaboklab(63.86% 0.1307 -0.1859)
OKLCHoklch(63.86% 0.227 305.1)
XYZxyz(37.6745, 22.9122, 90.4154)
Luminance0.2291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD5AF7 #A4F75A
analogous
#5E5AF7 #AD5AF7 #F75AF2
triadic
#AD5AF7 #F7AD5A #5AF7AD
tetradic
#AD5AF7 #F75E5A #A4F75A #5AF2F7
square
#AD5AF7 #F75E5A #A4F75A #5AF2F7
split-complementary
#AD5AF7 #F2F75A #5AF75E
monochromatic
#710ACD #9020F4 #AD5AF7 #CA94FA #E7CFFD

Accessibility & contrast

On white

3.76
#AD5AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#AD5AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD5AF7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD5AF7#FFFFFF#000000##000000
##AD5AF71.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FC
Deuteranopia (green-blind)
#3084F4
Tritanopia (blue-blind)
#A07BA1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ad5af7;
/* rgb */ color: rgb(173, 90, 247);
/* oklch */ color: oklch(63.9% 0.227 305.1);
Tailwind
colors: {
  custom: {
    50: '#ca8dfb',
    500: '#ad5af7',
    950: '#000000',
  },
}
SCSS
$custom: #ad5af7;
$custom-light: #ca8dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#ad5af7",
  "rgb": {
    "r": 173,
    "g": 90,
    "b": 247
  },
  "hsl": {
    "h": 271.72,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63857,
    "c": 0.22726,
    "h": 305.1
  },
  "luminance": 0.22912
}

Semantic roles & 50–950 ramp

primary
#AD5AF7
secondary
#D5F0BD
accent
#E6006C
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140D17
muted
#827D85

Preview Lab

Preview with #AD5AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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