#AF64E8#AF64E8

#AF64E8 is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.5% C 0.198 H 308.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AF64E8
RGBrgb(175, 100, 232)
HSLhsl(274, 74%, 65%)
HSVhsv(274, 57%, 91%)
CMYKcmyk(24.6%, 56.9%, 0%, 9%)
CIE-LABlab(56.14, 53.46, -55.36)
CIE-LCHlch(56.14, 76.96, 314.00°)
OKLaboklab(64.46% 0.1219 -0.1558)
OKLCHoklch(64.46% 0.198 308)
XYZxyz(36.7989, 24.0550, 79.0328)
Luminance0.2405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF64E8 #9DE864
analogous
#6D64E8 #AF64E8 #E864DF
triadic
#AF64E8 #E8AF64 #64E8AF
tetradic
#AF64E8 #E86D64 #9DE864 #64DFE8
square
#AF64E8 #E86D64 #9DE864 #64DFE8
split-complementary
#AF64E8 #DFE864 #64E86D
monochromatic
#731BB7 #932FE0 #AF64E8 #CB99F0 #E6CFF8

Accessibility & contrast

On white

3.61
#AF64E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#AF64E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF64E8
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF64E8#FFFFFF#000000##000000
##AF64E81.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3484EC
Deuteranopia (green-blind)
#5187E5
Tritanopia (blue-blind)
#A77D9D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af64e8;
/* rgb */ color: rgb(175, 100, 232);
/* oklch */ color: oklch(64.5% 0.198 308.0);
Tailwind
colors: {
  custom: {
    50: '#ca93f0',
    500: '#af64e8',
    950: '#000000',
  },
}
SCSS
$custom: #af64e8;
$custom-light: #ca93f0;
$custom-dark: #000000;
JSON
{
  "hex": "#af64e8",
  "rgb": {
    "r": 175,
    "g": 100,
    "b": 232
  },
  "hsl": {
    "h": 274.091,
    "s": 74.157,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64463,
    "c": 0.19783,
    "h": 308
  },
  "luminance": 0.24054
}

Semantic roles & 50–950 ramp

primary
#AF64E8
secondary
#D1EABE
accent
#D60F65
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF64E8

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

Preview Lab → · Contrast checker → · Palette generator →

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