#AF64CD#AF64CD

#AF64CD is a light, vivid purple. Relative luminance 0.226; OKLCH L 62.9% C 0.168 H 315.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AF64CD
RGBrgb(175, 100, 205)
HSLhsl(283, 51%, 60%)
HSVhsv(283, 51%, 80%)
CMYKcmyk(14.6%, 51.2%, 0%, 19.6%)
CIE-LABlab(54.70, 47.59, -42.41)
CIE-LCHlch(54.70, 63.75, 318.30°)
OKLaboklab(62.93% 0.1202 -0.1181)
OKLCHoklch(62.93% 0.168 315.5)
XYZxyz(33.2541, 22.6371, 60.3634)
Luminance0.2264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF64CD #82CD64
analogous
#7A64CD #AF64CD #CD64B7
triadic
#AF64CD #CDAF64 #64CDAF
tetradic
#AF64CD #CD7A64 #82CD64 #64B7CD
square
#AF64CD #CD7A64 #82CD64 #64B7CD
split-complementary
#AF64CD #B7CD64 #64CD7A
monochromatic
#6F2D8A #953BB8 #AF64CD #C792DC #DFC1EB

Accessibility & contrast

On white

3.80
#AF64CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#AF64CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF64CD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF64CD#FFFFFF#000000##000000
##AF64CD1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ED1
Deuteranopia (green-blind)
#6485CA
Tritanopia (blue-blind)
#AD748F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af64cd;
/* rgb */ color: rgb(175, 100, 205);
/* oklch */ color: oklch(62.9% 0.168 315.5);
Tailwind
colors: {
  custom: {
    50: '#c993dd',
    500: '#af64cd',
    950: '#000000',
  },
}
SCSS
$custom: #af64cd;
$custom-light: #c993dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af64cd",
  "rgb": {
    "r": 175,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 282.857,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6293,
    "c": 0.16846,
    "h": 315.5
  },
  "luminance": 0.22636
}

Semantic roles & 50–950 ramp

primary
#AF64CD
secondary
#BEDBB2
accent
#DB4D76
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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