#AF64BD#AF64BD

#AF64BD is a light, vivid purple. Relative luminance 0.219; OKLCH L 62.1% C 0.152 H 321.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AF64BD
RGBrgb(175, 100, 189)
HSLhsl(291, 40%, 57%)
HSVhsv(291, 47%, 74%)
CMYKcmyk(7.4%, 47.1%, 0%, 25.9%)
CIE-LABlab(53.92, 44.32, -34.46)
CIE-LCHlch(53.92, 56.15, 322.13°)
OKLaboklab(62.11% 0.118 -0.0951)
OKLCHoklch(62.11% 0.152 321.1)
XYZxyz(31.4206, 21.9037, 50.7070)
Luminance0.2190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF64BD #72BD64
analogous
#8364BD #AF64BD #BD649F
triadic
#AF64BD #BDAF64 #64BDAF
tetradic
#AF64BD #BD8364 #72BD64 #649FBD
square
#AF64BD #BD8364 #72BD64 #649FBD
split-complementary
#AF64BD #9FBD64 #64BD83
monochromatic
#6A3275 #9144A0 #AF64BD #C58FCF #DBBAE2

Accessibility & contrast

On white

3.90
#AF64BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#AF64BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF64BD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF64BD#FFFFFF#000000##000000
##AF64BD1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#577BC0
Deuteranopia (green-blind)
#6C84BA
Tritanopia (blue-blind)
#B16F88
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #af64bd;
/* rgb */ color: rgb(175, 100, 189);
/* oklch */ color: oklch(62.1% 0.152 321.1);
Tailwind
colors: {
  custom: {
    50: '#c992d1',
    500: '#af64bd',
    950: '#000000',
  },
}
SCSS
$custom: #af64bd;
$custom-light: #c992d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af64bd",
  "rgb": {
    "r": 175,
    "g": 100,
    "b": 189
  },
  "hsl": {
    "h": 290.562,
    "s": 40.271,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62106,
    "c": 0.15158,
    "h": 321.1
  },
  "luminance": 0.21902
}

Semantic roles & 50–950 ramp

primary
#AF64BD
secondary
#B2D1AC
accent
#D0586B
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AF64BD

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

Preview Lab → · Contrast checker → · Palette generator →

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