#AB64E4#AB64E4

#AB64E4 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.8% C 0.192 H 307.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AB64E4
RGBrgb(171, 100, 228)
HSLhsl(273, 70%, 64%)
HSVhsv(273, 56%, 89%)
CMYKcmyk(25%, 56.1%, 0%, 10.6%)
CIE-LABlab(55.46, 51.58, -54.24)
CIE-LCHlch(55.46, 74.85, 313.56°)
OKLaboklab(63.78% 0.1168 -0.1527)
OKLCHoklch(63.78% 0.192 307.4)
XYZxyz(35.3525, 23.3741, 76.0330)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB64E4 #9DE464
analogous
#6B64E4 #AB64E4 #E464DD
triadic
#AB64E4 #E4AB64 #64E4AB
tetradic
#AB64E4 #E46B64 #9DE464 #64DDE4
square
#AB64E4 #E46B64 #9DE464 #64DDE4
split-complementary
#AB64E4 #DDE464 #64E46B
monochromatic
#6F1FAF #8F30DB #AB64E4 #C798ED #E3CCF6

Accessibility & contrast

On white

3.70
#AB64E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#AB64E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB64E4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB64E4#FFFFFF#000000##000000
##AB64E41.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3682E8
Deuteranopia (green-blind)
#5186E1
Tritanopia (blue-blind)
#A27C9B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ab64e4;
/* rgb */ color: rgb(171, 100, 228);
/* oklch */ color: oklch(63.8% 0.192 307.4);
Tailwind
colors: {
  custom: {
    50: '#c793ed',
    500: '#ab64e4',
    950: '#000000',
  },
}
SCSS
$custom: #ab64e4;
$custom-light: #c793ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ab64e4",
  "rgb": {
    "r": 171,
    "g": 100,
    "b": 228
  },
  "hsl": {
    "h": 273.281,
    "s": 70.33,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63784,
    "c": 0.19222,
    "h": 307.4
  },
  "luminance": 0.23374
}

Semantic roles & 50–950 ramp

primary
#AB64E4
secondary
#CFE8BC
accent
#D21368
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB64E4

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

Preview Lab → · Contrast checker → · Palette generator →

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