#AD7EFE#AD7EFE

#AD7EFE is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.5% C 0.184 H 298.4°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#AD7EFE
RGBrgb(173, 126, 254)
HSLhsl(262, 98%, 75%)
HSVhsv(262, 50%, 100%)
CMYKcmyk(31.9%, 50.4%, 0%, 0.4%)
CIE-LABlab(62.48, 44.33, -57.46)
CIE-LCHlch(62.48, 72.57, 307.65°)
OKLaboklab(69.48% 0.0878 -0.1621)
OKLCHoklch(69.48% 0.184 298.4)
XYZxyz(42.5795, 30.9613, 97.4796)
Luminance0.3096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD7EFE #CFFE7E
analogous
#7E8FFE #AD7EFE #ED7EFE
triadic
#AD7EFE #FEAD7E #7EFEAD
tetradic
#AD7EFE #FE7E8F #CFFE7E #7EFEED
square
#AD7EFE #FE7E8F #CFFE7E #7EFEED
split-complementary
#AD7EFE #FEED7E #8FFE7E
monochromatic
#6005FD #8641FE #AD7EFE #D4BBFE #ECE1FF

Accessibility & contrast

On white

2.92
#AD7EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#AD7EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD7EFE
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD7EFE#FFFFFF#000000##000000
##AD7EFE1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#5C96FB
Tritanopia (blue-blind)
#9C97B2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ad7efe;
/* rgb */ color: rgb(173, 126, 254);
/* oklch */ color: oklch(69.5% 0.184 298.4);
Tailwind
colors: {
  custom: {
    50: '#c9a4ff',
    500: '#ad7efe',
    950: '#000000',
  },
}
SCSS
$custom: #ad7efe;
$custom-light: #c9a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ad7efe",
  "rgb": {
    "r": 173,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 262.031,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69482,
    "c": 0.18432,
    "h": 298.4
  },
  "luminance": 0.30962
}

Semantic roles & 50–950 ramp

primary
#AD7EFE
secondary
#EAF7D4
accent
#E60091
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AD7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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