#AD51E6#AD51E6

#AD51E6 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.6% C 0.222 H 309.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AD51E6
RGBrgb(173, 81, 230)
HSLhsl(277, 75%, 61%)
HSVhsv(277, 65%, 90%)
CMYKcmyk(24.8%, 64.8%, 0%, 9.8%)
CIE-LABlab(52.38, 61.78, -60.28)
CIE-LCHlch(52.38, 86.32, 315.70°)
OKLaboklab(61.64% 0.1418 -0.1702)
OKLCHoklch(61.64% 0.222 309.8)
XYZxyz(34.4562, 20.4829, 76.9860)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD51E6 #8AE651
analogous
#6251E6 #AD51E6 #E651D4
triadic
#AD51E6 #E6AD51 #51E6AD
tetradic
#AD51E6 #E66251 #8AE651 #51D4E6
square
#AD51E6 #E66251 #8AE651 #51D4E6
split-complementary
#AD51E6 #D4E651 #51E662
monochromatic
#6F18A5 #931FDA #AD51E6 #C687EE #DFBCF5

Accessibility & contrast

On white

4.12
#AD51E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#AD51E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD51E6
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD51E6#FFFFFF#000000##000000
##AD51E61.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#3B7EE3
Tritanopia (blue-blind)
#A57095
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ad51e6;
/* rgb */ color: rgb(173, 81, 230);
/* oklch */ color: oklch(61.6% 0.222 309.8);
Tailwind
colors: {
  custom: {
    50: '#ca88ef',
    500: '#ad51e6',
    950: '#000000',
  },
}
SCSS
$custom: #ad51e6;
$custom-light: #ca88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ad51e6",
  "rgb": {
    "r": 173,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 277.047,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61639,
    "c": 0.22159,
    "h": 309.8
  },
  "luminance": 0.20482
}

Semantic roles & 50–950 ramp

primary
#AD51E6
secondary
#C3E5AD
accent
#D70E5B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AD51E6

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

Preview Lab → · Contrast checker → · Palette generator →

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