#AD97EB#AD97EB

#AD97EB is a light, vivid violet. Relative luminance 0.370; OKLCH L 72.8% C 0.121 H 295.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#AD97EB
RGBrgb(173, 151, 235)
HSLhsl(256, 68%, 76%)
HSVhsv(256, 36%, 92%)
CMYKcmyk(26.4%, 35.7%, 0%, 7.8%)
CIE-LABlab(67.29, 25.70, -39.42)
CIE-LCHlch(67.29, 47.06, 303.10°)
OKLaboklab(72.81% 0.0518 -0.1097)
OKLCHoklch(72.81% 0.121 295.3)
XYZxyz(43.2920, 37.0151, 83.4450)
Luminance0.3702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD97EB #D5EB97
analogous
#97ABEB #AD97EB #D797EB
triadic
#AD97EB #EBAD97 #97EBAD
tetradic
#AD97EB #EB97AB #D5EB97 #97EBD7
square
#AD97EB #EB97AB #D5EB97 #97EBD7
split-complementary
#AD97EB #EBD797 #ABEB97
monochromatic
#5C30D7 #8564E1 #AD97EB #D5CAF5 #EBE5FA

Accessibility & contrast

On white

2.50
#AD97EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#AD97EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD97EB
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD97EB#FFFFFF#000000##000000
##AD97EB1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A4EE
Deuteranopia (green-blind)
#84A3E9
Tritanopia (blue-blind)
#A0A5B6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ad97eb;
/* rgb */ color: rgb(173, 151, 235);
/* oklch */ color: oklch(72.8% 0.121 295.3);
Tailwind
colors: {
  custom: {
    50: '#c7b5f1',
    500: '#ad97eb',
    950: '#000000',
  },
}
SCSS
$custom: #ad97eb;
$custom-light: #c7b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ad97eb",
  "rgb": {
    "r": 173,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 255.714,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72809,
    "c": 0.12128,
    "h": 295.3
  },
  "luminance": 0.37016
}

Semantic roles & 50–950 ramp

primary
#AD97EB
secondary
#EBF2D9
accent
#D0169F
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AD97EB

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

Preview Lab → · Contrast checker → · Palette generator →

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