#AF64AA#AF64AA

#AF64AA is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.2% C 0.133 H 329.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AF64AA
RGBrgb(175, 100, 170)
HSLhsl(304, 32%, 54%)
HSVhsv(304, 43%, 69%)
CMYKcmyk(0%, 42.9%, 2.9%, 31.4%)
CIE-LABlab(53.09, 40.68, -24.76)
CIE-LCHlch(53.09, 47.63, 328.67°)
OKLaboklab(61.21% 0.1143 -0.0674)
OKLCHoklch(61.21% 0.133 329.5)
XYZxyz(29.4917, 21.1321, 40.5479)
Luminance0.2113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF64AA #64AF69
analogous
#8F64AF #AF64AA #AF6485
triadic
#AF64AA #AAAF64 #64AAAF
tetradic
#AF64AA #AF8F64 #64AF69 #6485AF
square
#AF64AA #AF8F64 #64AF69 #6485AF
split-complementary
#AF64AA #85AF64 #64AF8F
monochromatic
#653461 #8D4988 #AF64AA #C48CC0 #D9B5D6

Accessibility & contrast

On white

4.02
#AF64AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#AF64AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF64AA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF64AA#FFFFFF#000000##000000
##AF64AA1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6078AC
Deuteranopia (green-blind)
#7482A8
Tritanopia (blue-blind)
#B46A7F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af64aa;
/* rgb */ color: rgb(175, 100, 170);
/* oklch */ color: oklch(61.2% 0.133 329.5);
Tailwind
colors: {
  custom: {
    50: '#c892c3',
    500: '#af64aa',
    950: '#000000',
  },
}
SCSS
$custom: #af64aa;
$custom-light: #c892c3;
$custom-dark: #000000;
JSON
{
  "hex": "#af64aa",
  "rgb": {
    "r": 175,
    "g": 100,
    "b": 170
  },
  "hsl": {
    "h": 304,
    "s": 31.915,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61214,
    "c": 0.13272,
    "h": 329.5
  },
  "luminance": 0.21131
}

Semantic roles & 50–950 ramp

primary
#AF64AA
secondary
#A7C7AA
accent
#C86760
background
#FCF9FC
surface
#F8F1F8
border
#D1CBD1
text
#130D12
muted
#827E81

Preview Lab

Preview with #AF64AA

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

Preview Lab → · Contrast checker → · Palette generator →

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