#AD51E8#AD51E8

#AD51E8 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.8% C 0.224 H 309.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AD51E8
RGBrgb(173, 81, 232)
HSLhsl(277, 77%, 61%)
HSVhsv(277, 65%, 91%)
CMYKcmyk(25.4%, 65.1%, 0%, 9%)
CIE-LABlab(52.50, 62.21, -61.20)
CIE-LCHlch(52.50, 87.27, 315.47°)
OKLaboklab(61.77% 0.1417 -0.1729)
OKLCHoklch(61.77% 0.224 309.3)
XYZxyz(34.7386, 20.5959, 78.4737)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD51E8 #8CE851
analogous
#6251E8 #AD51E8 #E851D8
triadic
#AD51E8 #E8AD51 #51E8AD
tetradic
#AD51E8 #E86251 #8CE851 #51D8E8
square
#AD51E8 #E86251 #8CE851 #51D8E8
split-complementary
#AD51E8 #D8E851 #51E862
monochromatic
#6F16A8 #931DDE #AD51E8 #C687EF #E0BDF6

Accessibility & contrast

On white

4.10
#AD51E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#AD51E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD51E8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD51E8#FFFFFF#000000##000000
##AD51E81.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#397FE5
Tritanopia (blue-blind)
#A57096
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ad51e8;
/* rgb */ color: rgb(173, 81, 232);
/* oklch */ color: oklch(61.8% 0.224 309.3);
Tailwind
colors: {
  custom: {
    50: '#ca88f0',
    500: '#ad51e8',
    950: '#000000',
  },
}
SCSS
$custom: #ad51e8;
$custom-light: #ca88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ad51e8",
  "rgb": {
    "r": 173,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 276.556,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61769,
    "c": 0.22359,
    "h": 309.3
  },
  "luminance": 0.20595
}

Semantic roles & 50–950 ramp

primary
#AD51E8
secondary
#C4E7AE
accent
#D90D5C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AD51E8

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

Preview Lab → · Contrast checker → · Palette generator →

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