#AF64E4#AF64E4

#AF64E4 is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.2% C 0.193 H 309.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AF64E4
RGBrgb(175, 100, 228)
HSLhsl(275, 70%, 64%)
HSVhsv(275, 56%, 89%)
CMYKcmyk(23.2%, 56.1%, 0%, 10.6%)
CIE-LABlab(55.92, 52.57, -53.47)
CIE-LCHlch(55.92, 74.98, 314.51°)
OKLaboklab(64.22% 0.1218 -0.1503)
OKLCHoklch(64.22% 0.193 309)
XYZxyz(36.2372, 23.8303, 76.0745)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF64E4 #99E464
analogous
#6F64E4 #AF64E4 #E464D9
triadic
#AF64E4 #E4AF64 #64E4AF
tetradic
#AF64E4 #E46F64 #99E464 #64D9E4
square
#AF64E4 #E46F64 #99E464 #64D9E4
split-complementary
#AF64E4 #D9E464 #64E46F
monochromatic
#731FAF #9430DB #AF64E4 #CA98ED #E5CCF6

Accessibility & contrast

On white

3.64
#AF64E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#AF64E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF64E4
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF64E4#FFFFFF#000000##000000
##AF64E41.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3983E8
Deuteranopia (green-blind)
#5587E1
Tritanopia (blue-blind)
#A87B9B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af64e4;
/* rgb */ color: rgb(175, 100, 228);
/* oklch */ color: oklch(64.2% 0.193 309.0);
Tailwind
colors: {
  custom: {
    50: '#ca93ed',
    500: '#af64e4',
    950: '#000000',
  },
}
SCSS
$custom: #af64e4;
$custom-light: #ca93ed;
$custom-dark: #000000;
JSON
{
  "hex": "#af64e4",
  "rgb": {
    "r": 175,
    "g": 100,
    "b": 228
  },
  "hsl": {
    "h": 275.156,
    "s": 70.33,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64225,
    "c": 0.19345,
    "h": 309
  },
  "luminance": 0.2383
}

Semantic roles & 50–950 ramp

primary
#AF64E4
secondary
#CEE8BC
accent
#D21362
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF64E4

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

Preview Lab → · Contrast checker → · Palette generator →

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