#AF64DD#AF64DD

#AF64DD is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.8% C 0.186 H 310.8°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AF64DD
RGBrgb(175, 100, 221)
HSLhsl(277, 64%, 63%)
HSVhsv(277, 55%, 87%)
CMYKcmyk(20.8%, 54.8%, 0%, 13.3%)
CIE-LABlab(55.53, 51.02, -50.15)
CIE-LCHlch(55.53, 71.54, 315.50°)
OKLaboklab(63.82% 0.1215 -0.1406)
OKLCHoklch(63.82% 0.186 310.8)
XYZxyz(35.2851, 23.4495, 71.0600)
Luminance0.2345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF64DD #92DD64
analogous
#7264DD #AF64DD #DD64CE
triadic
#AF64DD #DDAF64 #64DDAF
tetradic
#AF64DD #DD7264 #92DD64 #64CEDD
square
#AF64DD #DD7264 #92DD64 #64CEDD
split-complementary
#AF64DD #CEDD64 #64DD72
monochromatic
#7324A3 #9532D2 #AF64DD #C996E8 #E3C8F3

Accessibility & contrast

On white

3.69
#AF64DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#AF64DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF64DD
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF64DD#FFFFFF#000000##000000
##AF64DD1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4081E1
Deuteranopia (green-blind)
#5A86DA
Tritanopia (blue-blind)
#A97997
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af64dd;
/* rgb */ color: rgb(175, 100, 221);
/* oklch */ color: oklch(63.8% 0.186 310.8);
Tailwind
colors: {
  custom: {
    50: '#ca93e8',
    500: '#af64dd',
    950: '#000000',
  },
}
SCSS
$custom: #af64dd;
$custom-light: #ca93e8;
$custom-dark: #000000;
JSON
{
  "hex": "#af64dd",
  "rgb": {
    "r": 175,
    "g": 100,
    "b": 221
  },
  "hsl": {
    "h": 277.19,
    "s": 64.021,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63818,
    "c": 0.1858,
    "h": 310.8
  },
  "luminance": 0.23449
}

Semantic roles & 50–950 ramp

primary
#AF64DD
secondary
#C9E4B9
accent
#CC1A5D
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AF64DD

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

Preview Lab → · Contrast checker → · Palette generator →

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