#AD98FA#AD98FA

#AD98FA is a light, vivid violet. Relative luminance 0.382; OKLCH L 73.7% C 0.140 H 292.5°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#AD98FA
RGBrgb(173, 152, 250)
HSLhsl(253, 91%, 79%)
HSVhsv(253, 39%, 98%)
CMYKcmyk(30.8%, 39.2%, 0%, 2%)
CIE-LABlab(68.20, 28.82, -46.21)
CIE-LCHlch(68.20, 54.46, 301.95°)
OKLaboklab(73.72% 0.0535 -0.1293)
OKLCHoklch(73.72% 0.14 292.5)
XYZxyz(45.7128, 38.2420, 95.3970)
Luminance0.3824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD98FA #E5FA98
analogous
#98B4FA #AD98FA #DE98FA
triadic
#AD98FA #FAAD98 #98FAAD
tetradic
#AD98FA #FA98B4 #E5FA98 #98FADE
square
#AD98FA #FA98B4 #E5FA98 #98FADE
split-complementary
#AD98FA #FADE98 #B4FA98
monochromatic
#5023F4 #7F5EF7 #AD98FA #DBD2FD #E8E2FE

Accessibility & contrast

On white

2.43
#AD98FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#AD98FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD98FA
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD98FA#FFFFFF#000000##000000
##AD98FA1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA8FE
Deuteranopia (green-blind)
#7DA4F8
Tritanopia (blue-blind)
#9BAABD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ad98fa;
/* rgb */ color: rgb(173, 152, 250);
/* oklch */ color: oklch(73.7% 0.140 292.5);
Tailwind
colors: {
  custom: {
    50: '#c8b6fc',
    500: '#ad98fa',
    950: '#000000',
  },
}
SCSS
$custom: #ad98fa;
$custom-light: #c8b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ad98fa",
  "rgb": {
    "r": 173,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 252.857,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.73722,
    "c": 0.13992,
    "h": 292.5
  },
  "luminance": 0.38243
}

Semantic roles & 50–950 ramp

primary
#AD98FA
secondary
#EFF6D5
accent
#E600B4
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AD98FA

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

Preview Lab → · Contrast checker → · Palette generator →

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