#AD64EB#AD64EB

#AD64EB is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.4% C 0.201 H 306.5°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AD64EB
RGBrgb(173, 100, 235)
HSLhsl(272, 77%, 66%)
HSVhsv(272, 57%, 92%)
CMYKcmyk(26.4%, 57.4%, 0%, 7.8%)
CIE-LABlab(56.08, 53.66, -57.14)
CIE-LCHlch(56.08, 78.38, 313.20°)
OKLaboklab(64.43% 0.1194 -0.1611)
OKLCHoklch(64.43% 0.201 306.5)
XYZxyz(36.7830, 23.9971, 81.2753)
Luminance0.2400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD64EB #A2EB64
analogous
#6964EB #AD64EB #EB64E6
triadic
#AD64EB #EBAD64 #64EBAD
tetradic
#AD64EB #EB6964 #A2EB64 #64E6EB
square
#AD64EB #EB6964 #A2EB64 #64E6EB
split-complementary
#AD64EB #E6EB64 #64EB69
monochromatic
#7118BC #902EE4 #AD64EB #CA9AF2 #E6D0F9

Accessibility & contrast

On white

3.62
#AD64EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#AD64EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD64EB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD64EB#FFFFFF#000000##000000
##AD64EB1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E84EF
Deuteranopia (green-blind)
#4D87E8
Tritanopia (blue-blind)
#A37E9E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ad64eb;
/* rgb */ color: rgb(173, 100, 235);
/* oklch */ color: oklch(64.4% 0.201 306.5);
Tailwind
colors: {
  custom: {
    50: '#c993f2',
    500: '#ad64eb',
    950: '#000000',
  },
}
SCSS
$custom: #ad64eb;
$custom-light: #c993f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ad64eb",
  "rgb": {
    "r": 173,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 272.444,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64425,
    "c": 0.20055,
    "h": 306.5
  },
  "luminance": 0.23997
}

Semantic roles & 50–950 ramp

primary
#AD64EB
secondary
#D4ECBF
accent
#D90C6A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AD64EB

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

Preview Lab → · Contrast checker → · Palette generator →

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