#AF64C8#AF64C8

#AF64C8 is a light, vivid purple. Relative luminance 0.224; OKLCH L 62.7% C 0.163 H 317.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AF64C8
RGBrgb(175, 100, 200)
HSLhsl(285, 48%, 59%)
HSVhsv(285, 50%, 78%)
CMYKcmyk(12.5%, 50%, 0%, 21.6%)
CIE-LABlab(54.45, 46.55, -39.95)
CIE-LCHlch(54.45, 61.34, 319.37°)
OKLaboklab(62.67% 0.1196 -0.1109)
OKLCHoklch(62.67% 0.163 317.2)
XYZxyz(32.6602, 22.3995, 57.2355)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF64C8 #7DC864
analogous
#7D64C8 #AF64C8 #C864AF
triadic
#AF64C8 #C8AF64 #64C8AF
tetradic
#AF64C8 #C87D64 #7DC864 #64AFC8
square
#AF64C8 #C87D64 #7DC864 #64AFC8
split-complementary
#AF64C8 #AFC864 #64C87D
monochromatic
#6E2F83 #943FB0 #AF64C8 #C691D8 #DEBEE8

Accessibility & contrast

On white

3.83
#AF64C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#AF64C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF64C8
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF64C8#FFFFFF#000000##000000
##AF64C81.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#507DCB
Deuteranopia (green-blind)
#6785C5
Tritanopia (blue-blind)
#AE738D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #af64c8;
/* rgb */ color: rgb(175, 100, 200);
/* oklch */ color: oklch(62.7% 0.163 317.2);
Tailwind
colors: {
  custom: {
    50: '#c993d9',
    500: '#af64c8',
    950: '#000000',
  },
}
SCSS
$custom: #af64c8;
$custom-light: #c993d9;
$custom-dark: #000000;
JSON
{
  "hex": "#af64c8",
  "rgb": {
    "r": 175,
    "g": 100,
    "b": 200
  },
  "hsl": {
    "h": 285,
    "s": 47.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62666,
    "c": 0.16312,
    "h": 317.2
  },
  "luminance": 0.22398
}

Semantic roles & 50–950 ramp

primary
#AF64C8
secondary
#BAD8B0
accent
#D75172
background
#FCF9FD
surface
#F9F1FA
border
#D2CBD3
text
#130D14
muted
#827E83

Preview Lab

Preview with #AF64C8

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

Preview Lab → · Contrast checker → · Palette generator →

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