#AD7EF5#AD7EF5

#AD7EF5 is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.0% C 0.173 H 300.1°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#AD7EF5
RGBrgb(173, 126, 245)
HSLhsl(264, 86%, 73%)
HSVhsv(264, 49%, 96%)
CMYKcmyk(29.4%, 48.6%, 0%, 3.9%)
CIE-LABlab(62.00, 42.13, -53.27)
CIE-LCHlch(62.00, 67.91, 308.34°)
OKLaboklab(68.97% 0.087 -0.1498)
OKLCHoklch(68.97% 0.173 300.1)
XYZxyz(41.1720, 30.3983, 90.0669)
Luminance0.3040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD7EF5 #C6F57E
analogous
#7E8BF5 #AD7EF5 #E87EF5
triadic
#AD7EF5 #F5AD7E #7EF5AD
tetradic
#AD7EF5 #F57E8B #C6F57E #7EF5E8
square
#AD7EF5 #F57E8B #C6F57E #7EF5E8
split-complementary
#AD7EF5 #F5E87E #8BF57E
monochromatic
#6612E7 #8945F1 #AD7EF5 #D1B7F9 #EDE3FD

Accessibility & contrast

On white

2.97
#AD7EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#AD7EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD7EF5
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD7EF5#FFFFFF#000000##000000
##AD7EF51.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5795F9
Deuteranopia (green-blind)
#6395F2
Tritanopia (blue-blind)
#9F94AE
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ad7ef5;
/* rgb */ color: rgb(173, 126, 245);
/* oklch */ color: oklch(69.0% 0.173 300.1);
Tailwind
colors: {
  custom: {
    50: '#c8a4f9',
    500: '#ad7ef5',
    950: '#000000',
  },
}
SCSS
$custom: #ad7ef5;
$custom-light: #c8a4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ad7ef5",
  "rgb": {
    "r": 173,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 263.697,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.6897,
    "c": 0.17325,
    "h": 300.1
  },
  "luminance": 0.30399
}

Semantic roles & 50–950 ramp

primary
#AD7EF5
secondary
#E9F5D6
accent
#E2038A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AD7EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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