#AB64EB#AB64EB

#AB64EB is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.2% C 0.200 H 305.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AB64EB
RGBrgb(171, 100, 235)
HSLhsl(272, 77%, 66%)
HSVhsv(272, 57%, 92%)
CMYKcmyk(27.2%, 57.4%, 0%, 7.8%)
CIE-LABlab(55.86, 53.18, -57.52)
CIE-LCHlch(55.86, 78.34, 312.76°)
OKLaboklab(64.21% 0.1169 -0.1623)
OKLCHoklch(64.21% 0.2 305.8)
XYZxyz(36.3440, 23.7707, 81.2547)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB64EB #A4EB64
analogous
#6764EB #AB64EB #EB64E7
triadic
#AB64EB #EBAB64 #64EBAB
tetradic
#AB64EB #EB6764 #A4EB64 #64E7EB
square
#AB64EB #EB6764 #A4EB64 #64E7EB
split-complementary
#AB64EB #E7EB64 #64EB67
monochromatic
#6F18BC #8E2EE4 #AB64EB #C89AF2 #E6D0F9

Accessibility & contrast

On white

3.65
#AB64EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#AB64EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB64EB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB64EB#FFFFFF#000000##000000
##AB64EB1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D84EF
Deuteranopia (green-blind)
#4B86E8
Tritanopia (blue-blind)
#A07E9E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab64eb;
/* rgb */ color: rgb(171, 100, 235);
/* oklch */ color: oklch(64.2% 0.200 305.8);
Tailwind
colors: {
  custom: {
    50: '#c893f2',
    500: '#ab64eb',
    950: '#000000',
  },
}
SCSS
$custom: #ab64eb;
$custom-light: #c893f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab64eb",
  "rgb": {
    "r": 171,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 271.556,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64208,
    "c": 0.20001,
    "h": 305.8
  },
  "luminance": 0.2377
}

Semantic roles & 50–950 ramp

primary
#AB64EB
secondary
#D4ECBF
accent
#D90C6D
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB64EB

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

Preview Lab → · Contrast checker → · Palette generator →

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