#AD97EA#AD97EA

#AD97EA is a light, moderate violet. Relative luminance 0.370; OKLCH L 72.8% C 0.120 H 295.4°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#AD97EA
RGBrgb(173, 151, 234)
HSLhsl(256, 66%, 75%)
HSVhsv(256, 35%, 92%)
CMYKcmyk(26.1%, 35.5%, 0%, 8.2%)
CIE-LABlab(67.25, 25.46, -38.94)
CIE-LCHlch(67.25, 46.53, 303.18°)
OKLaboklab(72.76% 0.0515 -0.1083)
OKLCHoklch(72.76% 0.12 295.4)
XYZxyz(43.1479, 36.9575, 82.6862)
Luminance0.3696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD97EA #D4EA97
analogous
#97AAEA #AD97EA #D797EA
triadic
#AD97EA #EAAD97 #97EAAD
tetradic
#AD97EA #EA97AA #D4EA97 #97EAD7
square
#AD97EA #EA97AA #D4EA97 #97EAD7
split-complementary
#AD97EA #EAD797 #AAEA97
monochromatic
#5D31D5 #8564E0 #AD97EA #D5CAF4 #EBE6FA

Accessibility & contrast

On white

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

On black

8.39
#AD97EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD97EA
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD97EA#FFFFFF#000000##000000
##AD97EA1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ad97ea;
/* rgb */ color: rgb(173, 151, 234);
/* oklch */ color: oklch(72.8% 0.120 295.4);
Tailwind
colors: {
  custom: {
    50: '#c7b5f1',
    500: '#ad97ea',
    950: '#000000',
  },
}
SCSS
$custom: #ad97ea;
$custom-light: #c7b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ad97ea",
  "rgb": {
    "r": 173,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 255.904,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72762,
    "c": 0.11993,
    "h": 295.4
  },
  "luminance": 0.36958
}

Semantic roles & 50–950 ramp

primary
#AD97EA
secondary
#EBF1DA
accent
#CE179E
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AD97EA

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

Preview Lab → · Contrast checker → · Palette generator →

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