#AD7AF8#AD7AF8

#AD7AF8 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.5% C 0.183 H 300.3°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#AD7AF8
RGBrgb(173, 122, 248)
HSLhsl(264, 90%, 73%)
HSVhsv(264, 51%, 97%)
CMYKcmyk(30.2%, 50.8%, 0%, 2.7%)
CIE-LABlab(61.29, 45.05, -56.04)
CIE-LCHlch(61.29, 71.91, 308.79°)
OKLaboklab(68.5% 0.0924 -0.1579)
OKLCHoklch(68.5% 0.183 300.3)
XYZxyz(41.1324, 29.5804, 92.3313)
Luminance0.2958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD7AF8 #C5F87A
analogous
#7A86F8 #AD7AF8 #EC7AF8
triadic
#AD7AF8 #F8AD7A #7AF8AD
tetradic
#AD7AF8 #F87A86 #C5F87A #7AF8EC
square
#AD7AF8 #F87A86 #C5F87A #7AF8EC
split-complementary
#AD7AF8 #F8EC7A #86F87A
monochromatic
#670CEB #8940F5 #AD7AF8 #D1B4FB #EDE2FD

Accessibility & contrast

On white

3.04
#AD7AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#AD7AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD7AF8
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD7AF8#FFFFFF#000000##000000
##AD7AF81.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E94FC
Deuteranopia (green-blind)
#5C93F5
Tritanopia (blue-blind)
#9E92AE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ad7af8;
/* rgb */ color: rgb(173, 122, 248);
/* oklch */ color: oklch(68.5% 0.183 300.3);
Tailwind
colors: {
  custom: {
    50: '#c9a2fb',
    500: '#ad7af8',
    950: '#000000',
  },
}
SCSS
$custom: #ad7af8;
$custom-light: #c9a2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ad7af8",
  "rgb": {
    "r": 173,
    "g": 122,
    "b": 248
  },
  "hsl": {
    "h": 264.286,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68496,
    "c": 0.18298,
    "h": 300.3
  },
  "luminance": 0.29581
}

Semantic roles & 50–950 ramp

primary
#AD7AF8
secondary
#E9F6D5
accent
#E60089
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AD7AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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