#AD7EFC#AD7EFC

#AD7EFC is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.4% C 0.182 H 298.8°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#AD7EFC
RGBrgb(173, 126, 252)
HSLhsl(262, 95%, 74%)
HSVhsv(262, 50%, 99%)
CMYKcmyk(31.3%, 50%, 0%, 1.2%)
CIE-LABlab(62.37, 43.84, -56.53)
CIE-LCHlch(62.37, 71.54, 307.79°)
OKLaboklab(69.37% 0.0876 -0.1594)
OKLCHoklch(69.37% 0.182 298.8)
XYZxyz(42.2609, 30.8338, 95.8016)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD7EFC #CDFC7E
analogous
#7E8EFC #AD7EFC #EC7EFC
triadic
#AD7EFC #FCAD7E #7EFCAD
tetradic
#AD7EFC #FC7E8E #CDFC7E #7EFCEC
square
#AD7EFC #FC7E8E #CDFC7E #7EFCEC
split-complementary
#AD7EFC #FCEC7E #8EFC7E
monochromatic
#6106F9 #8742FB #AD7EFC #D3BAFD #ECE1FE

Accessibility & contrast

On white

2.93
#AD7EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#AD7EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD7EFC
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD7EFC#FFFFFF#000000##000000
##AD7EFC1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#5E96F9
Tritanopia (blue-blind)
#9C96B1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ad7efc;
/* rgb */ color: rgb(173, 126, 252);
/* oklch */ color: oklch(69.4% 0.182 298.8);
Tailwind
colors: {
  custom: {
    50: '#c9a4fe',
    500: '#ad7efc',
    950: '#000000',
  },
}
SCSS
$custom: #ad7efc;
$custom-light: #c9a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ad7efc",
  "rgb": {
    "r": 173,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 262.381,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69366,
    "c": 0.18187,
    "h": 298.8
  },
  "luminance": 0.30834
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AD7EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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