#AF64E5#AF64E5

#AF64E5 is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.3% C 0.195 H 308.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AF64E5
RGBrgb(175, 100, 229)
HSLhsl(275, 71%, 65%)
HSVhsv(275, 56%, 90%)
CMYKcmyk(23.6%, 56.3%, 0%, 10.2%)
CIE-LABlab(55.97, 52.79, -53.95)
CIE-LCHlch(55.97, 75.48, 314.38°)
OKLaboklab(64.28% 0.1218 -0.1517)
OKLCHoklch(64.28% 0.195 308.8)
XYZxyz(36.3764, 23.8860, 76.8077)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF64E5 #9AE564
analogous
#6F64E5 #AF64E5 #E564DA
triadic
#AF64E5 #E5AF64 #64E5AF
tetradic
#AF64E5 #E56F64 #9AE564 #64DAE5
square
#AF64E5 #E56F64 #9AE564 #64DAE5
split-complementary
#AF64E5 #DAE564 #64E56F
monochromatic
#731EB1 #9430DC #AF64E5 #CA98EE #E5CDF7

Accessibility & contrast

On white

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

On black

5.78
#AF64E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF64E5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF64E5#FFFFFF#000000##000000
##AF64E51.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3883E9
Deuteranopia (green-blind)
#5487E2
Tritanopia (blue-blind)
#A77C9B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af64e5;
/* rgb */ color: rgb(175, 100, 229);
/* oklch */ color: oklch(64.3% 0.195 308.8);
Tailwind
colors: {
  custom: {
    50: '#ca93ee',
    500: '#af64e5',
    950: '#000000',
  },
}
SCSS
$custom: #af64e5;
$custom-light: #ca93ee;
$custom-dark: #000000;
JSON
{
  "hex": "#af64e5",
  "rgb": {
    "r": 175,
    "g": 100,
    "b": 229
  },
  "hsl": {
    "h": 274.884,
    "s": 71.271,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64284,
    "c": 0.19454,
    "h": 308.8
  },
  "luminance": 0.23885
}

Semantic roles & 50–950 ramp

primary
#AF64E5
secondary
#CFE9BC
accent
#D31263
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF64E5

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

Preview Lab → · Contrast checker → · Palette generator →

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