#AD54EF#AD54EF

#AD54EF is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.6% C 0.227 H 307.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AD54EF
RGBrgb(173, 84, 239)
HSLhsl(274, 83%, 63%)
HSVhsv(274, 65%, 94%)
CMYKcmyk(27.6%, 64.9%, 0%, 6.3%)
CIE-LABlab(53.45, 62.36, -63.62)
CIE-LCHlch(53.45, 89.08, 314.43°)
OKLaboklab(62.59% 0.1379 -0.18)
OKLCHoklch(62.59% 0.227 307.4)
XYZxyz(35.9806, 21.4573, 83.8908)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD54EF #96EF54
analogous
#5F54EF #AD54EF #EF54E3
triadic
#AD54EF #EFAD54 #54EFAD
tetradic
#AD54EF #EF5F54 #96EF54 #54E3EF
square
#AD54EF #EF5F54 #96EF54 #54E3EF
split-complementary
#AD54EF #E3EF54 #54EF5F
monochromatic
#7111B7 #921CEA #AD54EF #C88CF4 #E3C4F9

Accessibility & contrast

On white

3.97
#AD54EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#AD54EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD54EF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD54EF#FFFFFF#000000##000000
##AD54EF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#3380EC
Tritanopia (blue-blind)
#A2759B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ad54ef;
/* rgb */ color: rgb(173, 84, 239);
/* oklch */ color: oklch(62.6% 0.227 307.4);
Tailwind
colors: {
  custom: {
    50: '#ca8af5',
    500: '#ad54ef',
    950: '#000000',
  },
}
SCSS
$custom: #ad54ef;
$custom-light: #ca8af5;
$custom-dark: #000000;
JSON
{
  "hex": "#ad54ef",
  "rgb": {
    "r": 173,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 274.452,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62588,
    "c": 0.22679,
    "h": 307.4
  },
  "luminance": 0.21457
}

Semantic roles & 50–950 ramp

primary
#AD54EF
secondary
#CBEBB4
accent
#DF0663
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AD54EF

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

Preview Lab → · Contrast checker → · Palette generator →

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