#AD51E5#AD51E5

#AD51E5 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.6% C 0.221 H 310.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AD51E5
RGBrgb(173, 81, 229)
HSLhsl(277, 74%, 61%)
HSVhsv(277, 65%, 90%)
CMYKcmyk(24.5%, 64.6%, 0%, 10.2%)
CIE-LABlab(52.32, 61.57, -59.82)
CIE-LCHlch(52.32, 85.84, 315.82°)
OKLaboklab(61.57% 0.1419 -0.1689)
OKLCHoklch(61.57% 0.221 310)
XYZxyz(34.3161, 20.4269, 76.2486)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD51E5 #89E551
analogous
#6351E5 #AD51E5 #E551D3
triadic
#AD51E5 #E5AD51 #51E5AD
tetradic
#AD51E5 #E56351 #89E551 #51D3E5
square
#AD51E5 #E56351 #89E551 #51D3E5
split-complementary
#AD51E5 #D3E551 #51E563
monochromatic
#6F18A3 #9320D8 #AD51E5 #C686ED #DFBBF5

Accessibility & contrast

On white

4.13
#AD51E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#AD51E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD51E5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD51E5#FFFFFF#000000##000000
##AD51E51.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#3C7EE2
Tritanopia (blue-blind)
#A56F94
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ad51e5;
/* rgb */ color: rgb(173, 81, 229);
/* oklch */ color: oklch(61.6% 0.221 310.0);
Tailwind
colors: {
  custom: {
    50: '#ca88ee',
    500: '#ad51e5',
    950: '#000000',
  },
}
SCSS
$custom: #ad51e5;
$custom-light: #ca88ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ad51e5",
  "rgb": {
    "r": 173,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 277.297,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61574,
    "c": 0.22059,
    "h": 310
  },
  "luminance": 0.20426
}

Semantic roles & 50–950 ramp

primary
#AD51E5
secondary
#C2E5AD
accent
#D60F5B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AD51E5

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

Preview Lab → · Contrast checker → · Palette generator →

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