#AB64E6#AB64E6

#AB64E6 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.9% C 0.194 H 306.9°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AB64E6
RGBrgb(171, 100, 230)
HSLhsl(273, 72%, 65%)
HSVhsv(273, 57%, 90%)
CMYKcmyk(25.7%, 56.5%, 0%, 9.8%)
CIE-LABlab(55.57, 52.04, -55.18)
CIE-LCHlch(55.57, 75.85, 313.32°)
OKLaboklab(63.9% 0.1169 -0.1554)
OKLCHoklch(63.9% 0.194 306.9)
XYZxyz(35.6317, 23.4858, 77.5037)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB64E6 #9FE664
analogous
#6A64E6 #AB64E6 #E664E0
triadic
#AB64E6 #E6AB64 #64E6AB
tetradic
#AB64E6 #E66A64 #9FE664 #64E0E6
square
#AB64E6 #E66A64 #9FE664 #64E0E6
split-complementary
#AB64E6 #E0E664 #64E66A
monochromatic
#6F1DB3 #8E2FDD #AB64E6 #C899EE #E4CDF7

Accessibility & contrast

On white

3.69
#AB64E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#AB64E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB64E6
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB64E6#FFFFFF#000000##000000
##AB64E61.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3483EA
Deuteranopia (green-blind)
#4F86E3
Tritanopia (blue-blind)
#A27D9C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ab64e6;
/* rgb */ color: rgb(171, 100, 230);
/* oklch */ color: oklch(63.9% 0.194 306.9);
Tailwind
colors: {
  custom: {
    50: '#c793ee',
    500: '#ab64e6',
    950: '#000000',
  },
}
SCSS
$custom: #ab64e6;
$custom-light: #c793ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ab64e6",
  "rgb": {
    "r": 171,
    "g": 100,
    "b": 230
  },
  "hsl": {
    "h": 272.769,
    "s": 72.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63904,
    "c": 0.19445,
    "h": 306.9
  },
  "luminance": 0.23485
}

Semantic roles & 50–950 ramp

primary
#AB64E6
secondary
#D1E9BD
accent
#D4116A
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB64E6

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

Preview Lab → · Contrast checker → · Palette generator →

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