#AB64EA#AB64EA

#AB64EA is a light, vivid violet. Relative luminance 0.237; OKLCH L 64.1% C 0.199 H 306.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AB64EA
RGBrgb(171, 100, 234)
HSLhsl(272, 76%, 65%)
HSVhsv(272, 57%, 92%)
CMYKcmyk(26.9%, 57.3%, 0%, 8.2%)
CIE-LABlab(55.80, 52.95, -57.05)
CIE-LCHlch(55.80, 77.84, 312.87°)
OKLaboklab(64.15% 0.1169 -0.1609)
OKLCHoklch(64.15% 0.199 306)
XYZxyz(36.1999, 23.7131, 80.4960)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB64EA #A3EA64
analogous
#6864EA #AB64EA #EA64E6
triadic
#AB64EA #EAAB64 #64EAAB
tetradic
#AB64EA #EA6864 #A3EA64 #64E6EA
square
#AB64EA #EA6864 #A3EA64 #64E6EA
split-complementary
#AB64EA #E6EA64 #64EA68
monochromatic
#6F19BA #8E2EE3 #AB64EA #C89AF1 #E5D0F9

Accessibility & contrast

On white

3.66
#AB64EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#AB64EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB64EA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB64EA#FFFFFF#000000##000000
##AB64EA1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E83EE
Deuteranopia (green-blind)
#4C86E7
Tritanopia (blue-blind)
#A17E9E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab64ea;
/* rgb */ color: rgb(171, 100, 234);
/* oklch */ color: oklch(64.1% 0.199 306.0);
Tailwind
colors: {
  custom: {
    50: '#c793f1',
    500: '#ab64ea',
    950: '#000000',
  },
}
SCSS
$custom: #ab64ea;
$custom-light: #c793f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab64ea",
  "rgb": {
    "r": 171,
    "g": 100,
    "b": 234
  },
  "hsl": {
    "h": 271.791,
    "s": 76.136,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64147,
    "c": 0.1989,
    "h": 306
  },
  "luminance": 0.23713
}

Semantic roles & 50–950 ramp

primary
#AB64EA
secondary
#D4EBBE
accent
#D80D6D
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB64EA

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

Preview Lab → · Contrast checker → · Palette generator →

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