#AB64C8#AB64C8

#AB64C8 is a light, vivid purple. Relative luminance 0.219; OKLCH L 62.2% C 0.161 H 315.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AB64C8
RGBrgb(171, 100, 200)
HSLhsl(283, 48%, 59%)
HSVhsv(283, 50%, 78%)
CMYKcmyk(14.5%, 50%, 0%, 21.6%)
CIE-LABlab(53.97, 45.44, -40.74)
CIE-LCHlch(53.97, 61.03, 318.12°)
OKLaboklab(62.2% 0.1148 -0.1133)
OKLCHoklch(62.2% 0.161 315.4)
XYZxyz(31.7755, 21.9433, 57.1940)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB64C8 #81C864
analogous
#7964C8 #AB64C8 #C864B3
triadic
#AB64C8 #C8AB64 #64C8AB
tetradic
#AB64C8 #C87964 #81C864 #64B3C8
square
#AB64C8 #C87964 #81C864 #64B3C8
split-complementary
#AB64C8 #B3C864 #64C879
monochromatic
#6B2F83 #8F3FB0 #AB64C8 #C391D8 #DCBEE8

Accessibility & contrast

On white

3.90
#AB64C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#AB64C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB64C8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB64C8#FFFFFF#000000##000000
##AB64C81.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7DCB
Deuteranopia (green-blind)
#6483C5
Tritanopia (blue-blind)
#A9738D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab64c8;
/* rgb */ color: rgb(171, 100, 200);
/* oklch */ color: oklch(62.2% 0.161 315.4);
Tailwind
colors: {
  custom: {
    50: '#c692d9',
    500: '#ab64c8',
    950: '#000000',
  },
}
SCSS
$custom: #ab64c8;
$custom-light: #c692d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab64c8",
  "rgb": {
    "r": 171,
    "g": 100,
    "b": 200
  },
  "hsl": {
    "h": 282.6,
    "s": 47.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62204,
    "c": 0.16128,
    "h": 315.4
  },
  "luminance": 0.21942
}

Semantic roles & 50–950 ramp

primary
#AB64C8
secondary
#BCD8B0
accent
#D75178
background
#FCF9FD
surface
#F8F1FA
border
#D1CBD3
text
#130D14
muted
#827E83

Preview Lab

Preview with #AB64C8

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

Preview Lab → · Contrast checker → · Palette generator →

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