#AF64DB#AF64DB

#AF64DB is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.7% C 0.184 H 311.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AF64DB
RGBrgb(175, 100, 219)
HSLhsl(278, 62%, 63%)
HSVhsv(278, 54%, 86%)
CMYKcmyk(20.1%, 54.3%, 0%, 14.1%)
CIE-LABlab(55.42, 50.59, -49.19)
CIE-LCHlch(55.42, 70.56, 315.80°)
OKLaboklab(63.7% 0.1213 -0.1378)
OKLCHoklch(63.7% 0.184 311.4)
XYZxyz(35.0202, 23.3435, 69.6650)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF64DB #90DB64
analogous
#7364DB #AF64DB #DB64CC
triadic
#AF64DB #DBAF64 #64DBAF
tetradic
#AF64DB #DB7364 #90DB64 #64CCDB
square
#AF64DB #DB7364 #90DB64 #64CCDB
split-complementary
#AF64DB #CCDB64 #64DB73
monochromatic
#7225A0 #9532CF #AF64DB #C996E7 #E2C7F2

Accessibility & contrast

On white

3.70
#AF64DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#AF64DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF64DB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF64DB#FFFFFF#000000##000000
##AF64DB1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4281DF
Deuteranopia (green-blind)
#5B86D8
Tritanopia (blue-blind)
#AA7996
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af64db;
/* rgb */ color: rgb(175, 100, 219);
/* oklch */ color: oklch(63.7% 0.184 311.4);
Tailwind
colors: {
  custom: {
    50: '#ca93e7',
    500: '#af64db',
    950: '#000000',
  },
}
SCSS
$custom: #af64db;
$custom-light: #ca93e7;
$custom-dark: #000000;
JSON
{
  "hex": "#af64db",
  "rgb": {
    "r": 175,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 277.815,
    "s": 62.304,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63703,
    "c": 0.18362,
    "h": 311.4
  },
  "luminance": 0.23343
}

Semantic roles & 50–950 ramp

primary
#AF64DB
secondary
#C8E3B8
accent
#CA1B5C
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AF64DB

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

Preview Lab → · Contrast checker → · Palette generator →

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