#AD7AFC#AD7AFC

#AD7AFC is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.7% C 0.188 H 299.6°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#AD7AFC
RGBrgb(173, 122, 252)
HSLhsl(264, 96%, 73%)
HSVhsv(264, 52%, 99%)
CMYKcmyk(31.3%, 51.6%, 0%, 1.2%)
CIE-LABlab(61.51, 46.02, -57.90)
CIE-LCHlch(61.51, 73.96, 308.48°)
OKLaboklab(68.73% 0.0927 -0.1634)
OKLCHoklch(68.73% 0.188 299.6)
XYZxyz(41.7596, 29.8313, 95.6345)
Luminance0.2983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD7AFC #C9FC7A
analogous
#7A88FC #AD7AFC #EE7AFC
triadic
#AD7AFC #FCAD7A #7AFCAD
tetradic
#AD7AFC #FC7A88 #C9FC7A #7AFCEE
square
#AD7AFC #FC7A88 #C9FC7A #7AFCEE
split-complementary
#AD7AFC #FCEE7A #88FC7A
monochromatic
#6406F6 #883EFB #AD7AFC #D2B6FD #EDE1FE

Accessibility & contrast

On white

3.01
#AD7AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#AD7AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD7AFC
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD7AFC#FFFFFF#000000##000000
##AD7AFC1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A94FF
Deuteranopia (green-blind)
#5994F9
Tritanopia (blue-blind)
#9D93B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ad7afc;
/* rgb */ color: rgb(173, 122, 252);
/* oklch */ color: oklch(68.7% 0.188 299.6);
Tailwind
colors: {
  custom: {
    50: '#c9a2fe',
    500: '#ad7afc',
    950: '#000000',
  },
}
SCSS
$custom: #ad7afc;
$custom-light: #c9a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ad7afc",
  "rgb": {
    "r": 173,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 263.538,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68729,
    "c": 0.18782,
    "h": 299.6
  },
  "luminance": 0.29832
}

Semantic roles & 50–950 ramp

primary
#AD7AFC
secondary
#E9F7D4
accent
#E6008B
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AD7AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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