#AF64DA#AF64DA

#AF64DA is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.6% C 0.183 H 311.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AF64DA
RGBrgb(175, 100, 218)
HSLhsl(278, 61%, 62%)
HSVhsv(278, 54%, 85%)
CMYKcmyk(19.7%, 54.1%, 0%, 14.5%)
CIE-LABlab(55.37, 50.37, -48.71)
CIE-LCHlch(55.37, 70.07, 315.96°)
OKLaboklab(63.65% 0.1213 -0.1364)
OKLCHoklch(63.65% 0.183 311.6)
XYZxyz(34.8890, 23.2910, 68.9738)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF64DA #8FDA64
analogous
#7464DA #AF64DA #DA64CA
triadic
#AF64DA #DAAF64 #64DAAF
tetradic
#AF64DA #DA7464 #8FDA64 #64CADA
square
#AF64DA #DA7464 #8FDA64 #64CADA
split-complementary
#AF64DA #CADA64 #64DA74
monochromatic
#72269E #9633CE #AF64DA #C995E6 #E2C7F2

Accessibility & contrast

On white

3.71
#AF64DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#AF64DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF64DA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF64DA#FFFFFF#000000##000000
##AF64DA1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4381DE
Deuteranopia (green-blind)
#5C86D7
Tritanopia (blue-blind)
#AA7896
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af64da;
/* rgb */ color: rgb(175, 100, 218);
/* oklch */ color: oklch(63.6% 0.183 311.6);
Tailwind
colors: {
  custom: {
    50: '#c993e6',
    500: '#af64da',
    950: '#000000',
  },
}
SCSS
$custom: #af64da;
$custom-light: #c993e6;
$custom-dark: #000000;
JSON
{
  "hex": "#af64da",
  "rgb": {
    "r": 175,
    "g": 100,
    "b": 218
  },
  "hsl": {
    "h": 278.136,
    "s": 61.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63647,
    "c": 0.18253,
    "h": 311.6
  },
  "luminance": 0.2329
}

Semantic roles & 50–950 ramp

primary
#AF64DA
secondary
#C7E2B7
accent
#C91C5B
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AF64DA

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

Preview Lab → · Contrast checker → · Palette generator →

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