#AD97F6#AD97F6

#AD97F6 is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.3% C 0.136 H 293.4°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#AD97F6
RGBrgb(173, 151, 246)
HSLhsl(254, 84%, 78%)
HSVhsv(254, 39%, 96%)
CMYKcmyk(29.7%, 38.6%, 0%, 3.5%)
CIE-LABlab(67.78, 28.39, -44.69)
CIE-LCHlch(67.78, 52.94, 302.43°)
OKLaboklab(73.34% 0.0541 -0.1249)
OKLCHoklch(73.34% 0.136 293.4)
XYZxyz(44.9306, 37.6705, 92.0749)
Luminance0.3767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD97F6 #E0F697
analogous
#97B0F6 #AD97F6 #DD97F6
triadic
#AD97F6 #F6AD97 #97F6AD
tetradic
#AD97F6 #F697B0 #E0F697 #97F6DD
square
#AD97F6 #F697B0 #E0F697 #97F6DD
split-complementary
#AD97F6 #F6DD97 #B0F697
monochromatic
#5426EC #815FF1 #AD97F6 #D9CFFB #E9E3FD

Accessibility & contrast

On white

2.46
#AD97F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#AD97F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD97F6
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD97F6#FFFFFF#000000##000000
##AD97F61.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA6FA
Deuteranopia (green-blind)
#7EA4F4
Tritanopia (blue-blind)
#9DA8BB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ad97f6;
/* rgb */ color: rgb(173, 151, 246);
/* oklch */ color: oklch(73.3% 0.136 293.4);
Tailwind
colors: {
  custom: {
    50: '#c7b5f9',
    500: '#ad97f6',
    950: '#000000',
  },
}
SCSS
$custom: #ad97f6;
$custom-light: #c7b5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ad97f6",
  "rgb": {
    "r": 173,
    "g": 151,
    "b": 246
  },
  "hsl": {
    "h": 253.895,
    "s": 84.071,
    "l": 77.843
  },
  "oklch": {
    "l": 0.73342,
    "c": 0.13608,
    "h": 293.4
  },
  "luminance": 0.37671
}

Semantic roles & 50–950 ramp

primary
#AD97F6
secondary
#EEF5D6
accent
#E105AE
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AD97F6

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

Preview Lab → · Contrast checker → · Palette generator →

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