#AD8EFE#AD8EFE

#AD8EFE is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.2% C 0.160 H 294.8°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#AD8EFE
RGBrgb(173, 142, 254)
HSLhsl(257, 98%, 78%)
HSVhsv(257, 44%, 100%)
CMYKcmyk(31.9%, 44.1%, 0%, 0.4%)
CIE-LABlab(66.05, 35.44, -51.78)
CIE-LCHlch(66.05, 62.75, 304.39°)
OKLaboklab(72.16% 0.0673 -0.1455)
OKLCHoklch(72.16% 0.16 294.8)
XYZxyz(44.7915, 35.3853, 98.2169)
Luminance0.3539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD8EFE #DFFE8E
analogous
#8EA7FE #AD8EFE #E58EFE
triadic
#AD8EFE #FEAD8E #8EFEAD
tetradic
#AD8EFE #FE8EA7 #DFFE8E #8EFEE5
square
#AD8EFE #FE8EA7 #DFFE8E #8EFEE5
split-complementary
#AD8EFE #FEE58E #A7FE8E
monochromatic
#5515FD #8151FD #AD8EFE #D9CBFF #E9E1FF

Accessibility & contrast

On white

2.60
#AD8EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#AD8EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD8EFE
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD8EFE#FFFFFF#000000##000000
##AD8EFE1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA2FF
Deuteranopia (green-blind)
#6F9FFB
Tritanopia (blue-blind)
#9BA3BA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ad8efe;
/* rgb */ color: rgb(173, 142, 254);
/* oklch */ color: oklch(72.2% 0.160 294.8);
Tailwind
colors: {
  custom: {
    50: '#c8afff',
    500: '#ad8efe',
    950: '#000000',
  },
}
SCSS
$custom: #ad8efe;
$custom-light: #c8afff;
$custom-dark: #000000;
JSON
{
  "hex": "#ad8efe",
  "rgb": {
    "r": 173,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 256.607,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.72156,
    "c": 0.1603,
    "h": 294.8
  },
  "luminance": 0.35386
}

Semantic roles & 50–950 ramp

primary
#AD8EFE
secondary
#EDF7D4
accent
#E600A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AD8EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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