#AD70EC#AD70EC

#AD70EC is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.2% C 0.184 H 304.6°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AD70EC
RGBrgb(173, 112, 236)
HSLhsl(270, 77%, 68%)
HSVhsv(270, 53%, 93%)
CMYKcmyk(26.7%, 52.5%, 0%, 7.5%)
CIE-LABlab(58.54, 47.60, -53.79)
CIE-LCHlch(58.54, 71.82, 311.51°)
OKLaboklab(66.25% 0.1044 -0.1513)
OKLCHoklch(66.25% 0.184 304.6)
XYZxyz(38.1648, 26.5289, 82.4506)
Luminance0.2653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD70EC #AFEC70
analogous
#7071EC #AD70EC #EB70EC
triadic
#AD70EC #ECAD70 #70ECAD
tetradic
#AD70EC #EC7071 #AFEC70 #70ECEB
square
#AD70EC #EC7071 #AFEC70 #70ECEB
split-complementary
#AD70EC #ECEB70 #71EC70
monochromatic
#6F1AC7 #8E3AE5 #AD70EC #CCA6F3 #EBDCFA

Accessibility & contrast

On white

3.33
#AD70EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#AD70EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD70EC
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD70EC#FFFFFF#000000##000000
##AD70EC1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#478BF0
Deuteranopia (green-blind)
#5A8DE9
Tritanopia (blue-blind)
#A287A4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ad70ec;
/* rgb */ color: rgb(173, 112, 236);
/* oklch */ color: oklch(66.2% 0.184 304.6);
Tailwind
colors: {
  custom: {
    50: '#c89bf3',
    500: '#ad70ec',
    950: '#000000',
  },
}
SCSS
$custom: #ad70ec;
$custom-light: #c89bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ad70ec",
  "rgb": {
    "r": 173,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 269.516,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66245,
    "c": 0.18381,
    "h": 304.6
  },
  "luminance": 0.26529
}

Semantic roles & 50–950 ramp

primary
#AD70EC
secondary
#DCEFC9
accent
#D90D74
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AD70EC

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

Preview Lab → · Contrast checker → · Palette generator →

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