#AD7AF7#AD7AF7

#AD7AF7 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.4% C 0.182 H 300.5°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#AD7AF7
RGBrgb(173, 122, 247)
HSLhsl(264, 89%, 72%)
HSVhsv(264, 51%, 97%)
CMYKcmyk(30%, 50.6%, 0%, 3.1%)
CIE-LABlab(61.24, 44.81, -55.58)
CIE-LCHlch(61.24, 71.39, 308.88°)
OKLaboklab(68.44% 0.0923 -0.1566)
OKLCHoklch(68.44% 0.182 300.5)
XYZxyz(40.9777, 29.5185, 91.5164)
Luminance0.2952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD7AF7 #C4F77A
analogous
#7A86F7 #AD7AF7 #EB7AF7
triadic
#AD7AF7 #F7AD7A #7AF7AD
tetradic
#AD7AF7 #F77A86 #C4F77A #7AF7EB
square
#AD7AF7 #F77A86 #C4F77A #7AF7EB
split-complementary
#AD7AF7 #F7EB7A #86F77A
monochromatic
#670EE9 #8940F4 #AD7AF7 #D1B4FA #EDE2FD

Accessibility & contrast

On white

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

On black

6.90
#AD7AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD7AF7
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD7AF7#FFFFFF#000000##000000
##AD7AF71.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F93FB
Deuteranopia (green-blind)
#5D93F4
Tritanopia (blue-blind)
#9E92AD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ad7af7;
/* rgb */ color: rgb(173, 122, 247);
/* oklch */ color: oklch(68.4% 0.182 300.5);
Tailwind
colors: {
  custom: {
    50: '#c9a2fa',
    500: '#ad7af7',
    950: '#000000',
  },
}
SCSS
$custom: #ad7af7;
$custom-light: #c9a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ad7af7",
  "rgb": {
    "r": 173,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 264.48,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68439,
    "c": 0.18177,
    "h": 300.5
  },
  "luminance": 0.29519
}

Semantic roles & 50–950 ramp

primary
#AD7AF7
secondary
#E8F5D6
accent
#E50088
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AD7AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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