#AD54EB#AD54EB

#AD54EB is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.3% C 0.223 H 308.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AD54EB
RGBrgb(173, 84, 235)
HSLhsl(275, 79%, 63%)
HSVhsv(275, 64%, 92%)
CMYKcmyk(26.4%, 64.3%, 0%, 7.8%)
CIE-LABlab(53.19, 61.48, -61.78)
CIE-LCHlch(53.19, 87.16, 314.86°)
OKLaboklab(62.33% 0.1382 -0.1747)
OKLCHoklch(62.33% 0.223 308.3)
XYZxyz(35.3963, 21.2236, 80.8130)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD54EB #92EB54
analogous
#6154EB #AD54EB #EB54DE
triadic
#AD54EB #EBAD54 #54EBAD
tetradic
#AD54EB #EB6154 #92EB54 #54DEEB
square
#AD54EB #EB6154 #92EB54 #54DEEB
split-complementary
#AD54EB #DEEB54 #54EB61
monochromatic
#7015B0 #931DE5 #AD54EB #C78BF1 #E2C2F8

Accessibility & contrast

On white

4.00
#AD54EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#AD54EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD54EB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD54EB#FFFFFF#000000##000000
##AD54EB1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#3980E8
Tritanopia (blue-blind)
#A47398
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ad54eb;
/* rgb */ color: rgb(173, 84, 235);
/* oklch */ color: oklch(62.3% 0.223 308.3);
Tailwind
colors: {
  custom: {
    50: '#ca89f2',
    500: '#ad54eb',
    950: '#000000',
  },
}
SCSS
$custom: #ad54eb;
$custom-light: #ca89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ad54eb",
  "rgb": {
    "r": 173,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 275.364,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62325,
    "c": 0.22271,
    "h": 308.3
  },
  "luminance": 0.21223
}

Semantic roles & 50–950 ramp

primary
#AD54EB
secondary
#C8E9B2
accent
#DB0A60
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AD54EB

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

Preview Lab → · Contrast checker → · Palette generator →

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