#AD40EA#AD40EA

#AD40EA is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 60.1% C 0.246 H 310.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AD40EA
RGBrgb(173, 64, 234)
HSLhsl(278, 80%, 58%)
HSVhsv(278, 73%, 92%)
CMYKcmyk(26.1%, 72.6%, 0%, 8.2%)
CIE-LABlab(50.09, 69.78, -66.23)
CIE-LCHlch(50.09, 96.21, 316.49°)
OKLaboklab(60.09% 0.1586 -0.1876)
OKLCHoklch(60.09% 0.246 310.2)
XYZxyz(33.9154, 18.4923, 79.6087)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD40EA #7DEA40
analogous
#5840EA #AD40EA #EA40D2
triadic
#AD40EA #EAAD40 #40EAAD
tetradic
#AD40EA #EA5840 #7DEA40 #40D2EA
square
#AD40EA #EA5840 #7DEA40 #40D2EA
split-complementary
#AD40EA #D2EA40 #40EA58
monochromatic
#6C119E #9117D5 #AD40EA #C577F0 #DCAEF6

Accessibility & contrast

On white

4.47
#AD40EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#AD40EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD40EA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD40EA#FFFFFF#000000##000000
##AD40EA1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#1A79E6
Tritanopia (blue-blind)
#A46792
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ad40ea;
/* rgb */ color: rgb(173, 64, 234);
/* oklch */ color: oklch(60.1% 0.246 310.2);
Tailwind
colors: {
  custom: {
    50: '#cb7ff2',
    500: '#ad40ea',
    950: '#000000',
  },
}
SCSS
$custom: #ad40ea;
$custom-light: #cb7ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#ad40ea",
  "rgb": {
    "r": 173,
    "g": 64,
    "b": 234
  },
  "hsl": {
    "h": 278.471,
    "s": 80.189,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60086,
    "c": 0.24569,
    "h": 310.2
  },
  "luminance": 0.18492
}

Semantic roles & 50–950 ramp

primary
#AD40EA
secondary
#B9E5A1
accent
#F73178
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #AD40EA

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

Preview Lab → · Contrast checker → · Palette generator →

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