#AD7EF8#AD7EF8

#AD7EF8 is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.1% C 0.177 H 299.5°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#AD7EF8
RGBrgb(173, 126, 248)
HSLhsl(263, 90%, 73%)
HSVhsv(263, 49%, 97%)
CMYKcmyk(30.2%, 49.2%, 0%, 2.7%)
CIE-LABlab(62.15, 42.86, -54.67)
CIE-LCHlch(62.15, 69.47, 308.09°)
OKLaboklab(69.14% 0.0872 -0.1539)
OKLCHoklch(69.14% 0.177 299.5)
XYZxyz(41.6337, 30.5830, 92.4984)
Luminance0.3058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD7EF8 #C9F87E
analogous
#7E8CF8 #AD7EF8 #EA7EF8
triadic
#AD7EF8 #F8AD7E #7EF8AD
tetradic
#AD7EF8 #F87E8C #C9F87E #7EF8EA
square
#AD7EF8 #F87E8C #C9F87E #7EF8EA
split-complementary
#AD7EF8 #F8EA7E #8CF87E
monochromatic
#640DEF #8844F5 #AD7EF8 #D2B8FB #EDE2FD

Accessibility & contrast

On white

2.95
#AD7EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#AD7EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD7EF8
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD7EF8#FFFFFF#000000##000000
##AD7EF81.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FC
Deuteranopia (green-blind)
#6195F5
Tritanopia (blue-blind)
#9E95B0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ad7ef8;
/* rgb */ color: rgb(173, 126, 248);
/* oklch */ color: oklch(69.1% 0.177 299.5);
Tailwind
colors: {
  custom: {
    50: '#c8a4fb',
    500: '#ad7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #ad7ef8;
$custom-light: #c8a4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ad7ef8",
  "rgb": {
    "r": 173,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 263.115,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69139,
    "c": 0.17695,
    "h": 299.5
  },
  "luminance": 0.30583
}

Semantic roles & 50–950 ramp

primary
#AD7EF8
secondary
#E9F6D5
accent
#E6008D
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AD7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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