#AF64E3#AF64E3

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

Color values

HEX#AF64E3
RGBrgb(175, 100, 227)
HSLhsl(275, 69%, 64%)
HSVhsv(275, 56%, 89%)
CMYKcmyk(22.9%, 55.9%, 0%, 11%)
CIE-LABlab(55.86, 52.35, -53.00)
CIE-LCHlch(55.86, 74.49, 314.64°)
OKLaboklab(64.17% 0.1217 -0.1489)
OKLCHoklch(64.17% 0.192 309.3)
XYZxyz(36.0988, 23.7749, 75.3455)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF64E3 #98E364
analogous
#7064E3 #AF64E3 #E364D8
triadic
#AF64E3 #E3AF64 #64E3AF
tetradic
#AF64E3 #E37064 #98E364 #64D8E3
square
#AF64E3 #E37064 #98E364 #64D8E3
split-complementary
#AF64E3 #D8E364 #64E370
monochromatic
#731FAD #9430DA #AF64E3 #CA98EC #E5CCF6

Accessibility & contrast

On white

3.65
#AF64E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#AF64E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF64E3
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF64E3#FFFFFF#000000##000000
##AF64E31.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A83E7
Deuteranopia (green-blind)
#5687E0
Tritanopia (blue-blind)
#A87B9A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af64e3;
/* rgb */ color: rgb(175, 100, 227);
/* oklch */ color: oklch(64.2% 0.192 309.3);
Tailwind
colors: {
  custom: {
    50: '#ca93ec',
    500: '#af64e3',
    950: '#000000',
  },
}
SCSS
$custom: #af64e3;
$custom-light: #ca93ec;
$custom-dark: #000000;
JSON
{
  "hex": "#af64e3",
  "rgb": {
    "r": 175,
    "g": 100,
    "b": 227
  },
  "hsl": {
    "h": 275.433,
    "s": 69.399,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64166,
    "c": 0.19236,
    "h": 309.3
  },
  "luminance": 0.23774
}

Semantic roles & 50–950 ramp

primary
#AF64E3
secondary
#CDE8BB
accent
#D11462
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF64E3

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

Preview Lab → · Contrast checker → · Palette generator →

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