#AB64E8#AB64E8

#AB64E8 is a light, vivid violet. Relative luminance 0.236; OKLCH L 64.0% C 0.197 H 306.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AB64E8
RGBrgb(171, 100, 232)
HSLhsl(272, 74%, 65%)
HSVhsv(272, 57%, 91%)
CMYKcmyk(26.3%, 56.9%, 0%, 9%)
CIE-LABlab(55.68, 52.49, -56.12)
CIE-LCHlch(55.68, 76.84, 313.09°)
OKLaboklab(64.03% 0.1169 -0.1582)
OKLCHoklch(64.03% 0.197 306.5)
XYZxyz(35.9142, 23.5988, 78.9913)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB64E8 #A1E864
analogous
#6964E8 #AB64E8 #E864E3
triadic
#AB64E8 #E8AB64 #64E8AB
tetradic
#AB64E8 #E86964 #A1E864 #64E3E8
square
#AB64E8 #E86964 #A1E864 #64E3E8
split-complementary
#AB64E8 #E3E864 #64E869
monochromatic
#6F1BB7 #8E2FE0 #AB64E8 #C899F0 #E5CFF8

Accessibility & contrast

On white

3.67
#AB64E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#AB64E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB64E8
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB64E8#FFFFFF#000000##000000
##AB64E81.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3183EC
Deuteranopia (green-blind)
#4E86E5
Tritanopia (blue-blind)
#A17D9D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ab64e8;
/* rgb */ color: rgb(171, 100, 232);
/* oklch */ color: oklch(64.0% 0.197 306.5);
Tailwind
colors: {
  custom: {
    50: '#c793f0',
    500: '#ab64e8',
    950: '#000000',
  },
}
SCSS
$custom: #ab64e8;
$custom-light: #c793f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab64e8",
  "rgb": {
    "r": 171,
    "g": 100,
    "b": 232
  },
  "hsl": {
    "h": 272.273,
    "s": 74.157,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64025,
    "c": 0.19667,
    "h": 306.5
  },
  "luminance": 0.23598
}

Semantic roles & 50–950 ramp

primary
#AB64E8
secondary
#D2EABE
accent
#D60F6B
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB64E8

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

Preview Lab → · Contrast checker → · Palette generator →

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