#AD97FC#AD97FC

#AD97FC is a light, vivid violet. Relative luminance 0.380; OKLCH L 73.6% C 0.144 H 292.5°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#AD97FC
RGBrgb(173, 151, 252)
HSLhsl(253, 94%, 79%)
HSVhsv(253, 40%, 99%)
CMYKcmyk(31.3%, 40.1%, 0%, 1.2%)
CIE-LABlab(68.05, 29.88, -47.52)
CIE-LCHlch(68.05, 56.14, 302.16°)
OKLaboklab(73.64% 0.0552 -0.1331)
OKLCHoklch(73.64% 0.144 292.5)
XYZxyz(45.8664, 38.0449, 97.0035)
Luminance0.3805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD97FC #E6FC97
analogous
#97B4FC #AD97FC #E097FC
triadic
#AD97FC #FCAD97 #97FCAD
tetradic
#AD97FC #FC97B4 #E6FC97 #97FCE0
square
#AD97FC #FC97B4 #E6FC97 #97FCE0
split-complementary
#AD97FC #FCE097 #B4FC97
monochromatic
#4F20F9 #7E5CFA #AD97FC #DCD2FE #E8E1FE

Accessibility & contrast

On white

2.44
#AD97FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#AD97FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD97FC
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD97FC#FFFFFF#000000##000000
##AD97FC1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#7BA4F9
Tritanopia (blue-blind)
#9BA9BD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ad97fc;
/* rgb */ color: rgb(173, 151, 252);
/* oklch */ color: oklch(73.6% 0.144 292.5);
Tailwind
colors: {
  custom: {
    50: '#c8b5fe',
    500: '#ad97fc',
    950: '#000000',
  },
}
SCSS
$custom: #ad97fc;
$custom-light: #c8b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ad97fc",
  "rgb": {
    "r": 173,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 253.069,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.73643,
    "c": 0.1441,
    "h": 292.5
  },
  "luminance": 0.38046
}

Semantic roles & 50–950 ramp

primary
#AD97FC
secondary
#EFF6D5
accent
#E600B4
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AD97FC

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

Preview Lab → · Contrast checker → · Palette generator →

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