#AB64DA#AB64DA

#AB64DA is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.2% C 0.181 H 310.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AB64DA
RGBrgb(171, 100, 218)
HSLhsl(276, 61%, 62%)
HSVhsv(276, 54%, 85%)
CMYKcmyk(21.6%, 54.1%, 0%, 14.5%)
CIE-LABlab(54.90, 49.34, -49.49)
CIE-LCHlch(54.90, 69.88, 314.91°)
OKLaboklab(63.2% 0.1164 -0.1388)
OKLCHoklch(63.2% 0.181 310)
XYZxyz(34.0043, 22.8348, 68.9323)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB64DA #93DA64
analogous
#7064DA #AB64DA #DA64CE
triadic
#AB64DA #DAAB64 #64DAAB
tetradic
#AB64DA #DA7064 #93DA64 #64CEDA
square
#AB64DA #DA7064 #93DA64 #64CEDA
split-complementary
#AB64DA #CEDA64 #64DA70
monochromatic
#6E269E #9033CE #AB64DA #C695E6 #E1C7F2

Accessibility & contrast

On white

3.77
#AB64DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#AB64DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB64DA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB64DA#FFFFFF#000000##000000
##AB64DA1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4180DE
Deuteranopia (green-blind)
#5985D7
Tritanopia (blue-blind)
#A57996
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab64da;
/* rgb */ color: rgb(171, 100, 218);
/* oklch */ color: oklch(63.2% 0.181 310.0);
Tailwind
colors: {
  custom: {
    50: '#c793e6',
    500: '#ab64da',
    950: '#000000',
  },
}
SCSS
$custom: #ab64da;
$custom-light: #c793e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab64da",
  "rgb": {
    "r": 171,
    "g": 100,
    "b": 218
  },
  "hsl": {
    "h": 276.102,
    "s": 61.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63198,
    "c": 0.18111,
    "h": 310
  },
  "luminance": 0.22834
}

Semantic roles & 50–950 ramp

primary
#AB64DA
secondary
#C9E2B7
accent
#C91C61
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB64DA

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

Preview Lab → · Contrast checker → · Palette generator →

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