#AD51ED#AD51ED

#AD51ED is a light, highly saturated violet. Relative luminance 0.209; OKLCH L 62.1% C 0.229 H 308.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AD51ED
RGBrgb(173, 81, 237)
HSLhsl(275, 81%, 62%)
HSVhsv(275, 66%, 93%)
CMYKcmyk(27%, 65.8%, 0%, 7.1%)
CIE-LABlab(52.82, 63.29, -63.50)
CIE-LCHlch(52.82, 89.66, 314.91°)
OKLaboklab(62.1% 0.1413 -0.1797)
OKLCHoklch(62.1% 0.229 308.2)
XYZxyz(35.4589, 20.8841, 82.2674)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD51ED #91ED51
analogous
#5F51ED #AD51ED #ED51DF
triadic
#AD51ED #EDAD51 #51EDAD
tetradic
#AD51ED #ED5F51 #91ED51 #51DFED
square
#AD51ED #ED5F51 #91ED51 #51DFED
split-complementary
#AD51ED #DFED51 #51ED5F
monochromatic
#7012B1 #931AE7 #AD51ED #C788F3 #E1C0F8

Accessibility & contrast

On white

4.06
#AD51ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#AD51ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD51ED
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD51ED#FFFFFF#000000##000000
##AD51ED1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#317FEA
Tritanopia (blue-blind)
#A37298
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ad51ed;
/* rgb */ color: rgb(173, 81, 237);
/* oklch */ color: oklch(62.1% 0.229 308.2);
Tailwind
colors: {
  custom: {
    50: '#ca88f4',
    500: '#ad51ed',
    950: '#000000',
  },
}
SCSS
$custom: #ad51ed;
$custom-light: #ca88f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ad51ed",
  "rgb": {
    "r": 173,
    "g": 81,
    "b": 237
  },
  "hsl": {
    "h": 275.385,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62099,
    "c": 0.2286,
    "h": 308.2
  },
  "luminance": 0.20884
}

Semantic roles & 50–950 ramp

primary
#AD51ED
secondary
#C8E9B0
accent
#DE0860
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AD51ED

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

Preview Lab → · Contrast checker → · Palette generator →

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