#AF64F4#AF64F4

#AF64F4 is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.2% C 0.211 H 305.3°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AF64F4
RGBrgb(175, 100, 244)
HSLhsl(271, 87%, 67%)
HSVhsv(271, 59%, 96%)
CMYKcmyk(28.3%, 59%, 0%, 4.3%)
CIE-LABlab(56.84, 56.18, -60.93)
CIE-LCHlch(56.84, 82.88, 312.68°)
OKLaboklab(65.2% 0.1219 -0.1722)
OKLCHoklch(65.2% 0.211 305.3)
XYZxyz(38.5620, 24.7602, 88.3181)
Luminance0.2476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF64F4 #A9F464
analogous
#6764F4 #AF64F4 #F464F1
triadic
#AF64F4 #F4AF64 #64F4AF
tetradic
#AF64F4 #F46764 #A9F464 #64F1F4
square
#AF64F4 #F46764 #A9F464 #64F1F4
split-complementary
#AF64F4 #F1F464 #64F467
monochromatic
#730FCF #922BF0 #AF64F4 #CC9DF8 #EAD6FC

Accessibility & contrast

On white

3.53
#AF64F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#AF64F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF64F4
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF64F4#FFFFFF#000000##000000
##AF64F41.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2086F9
Deuteranopia (green-blind)
#4689F1
Tritanopia (blue-blind)
#A381A3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af64f4;
/* rgb */ color: rgb(175, 100, 244);
/* oklch */ color: oklch(65.2% 0.211 305.3);
Tailwind
colors: {
  custom: {
    50: '#cb93f8',
    500: '#af64f4',
    950: '#000000',
  },
}
SCSS
$custom: #af64f4;
$custom-light: #cb93f8;
$custom-dark: #000000;
JSON
{
  "hex": "#af64f4",
  "rgb": {
    "r": 175,
    "g": 100,
    "b": 244
  },
  "hsl": {
    "h": 271.25,
    "s": 86.747,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65197,
    "c": 0.21096,
    "h": 305.3
  },
  "luminance": 0.2476
}

Semantic roles & 50–950 ramp

primary
#AF64F4
secondary
#D9F0C3
accent
#E3026E
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF64F4

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

Preview Lab → · Contrast checker → · Palette generator →

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