#AF64F7#AF64F7

#AF64F7 is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.4% C 0.214 H 304.7°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AF64F7
RGBrgb(175, 100, 247)
HSLhsl(271, 90%, 68%)
HSVhsv(271, 60%, 97%)
CMYKcmyk(29.1%, 59.5%, 0%, 3.1%)
CIE-LABlab(57.02, 56.87, -62.31)
CIE-LCHlch(57.02, 84.36, 312.39°)
OKLaboklab(65.39% 0.1219 -0.1762)
OKLCHoklch(65.39% 0.214 304.7)
XYZxyz(39.0212, 24.9439, 90.7366)
Luminance0.2494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF64F7 #ACF764
analogous
#6564F7 #AF64F7 #F764F6
triadic
#AF64F7 #F7AF64 #64F7AF
tetradic
#AF64F7 #F76564 #ACF764 #64F6F7
square
#AF64F7 #F76564 #ACF764 #64F6F7
split-complementary
#AF64F7 #F6F764 #64F765
monochromatic
#720BD6 #912AF4 #AF64F7 #CD9EFA #EBD8FD

Accessibility & contrast

On white

3.51
#AF64F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#AF64F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF64F7
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF64F7#FFFFFF#000000##000000
##AF64F71.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1887FC
Deuteranopia (green-blind)
#4289F4
Tritanopia (blue-blind)
#A282A4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af64f7;
/* rgb */ color: rgb(175, 100, 247);
/* oklch */ color: oklch(65.4% 0.214 304.7);
Tailwind
colors: {
  custom: {
    50: '#cb93fb',
    500: '#af64f7',
    950: '#000000',
  },
}
SCSS
$custom: #af64f7;
$custom-light: #cb93fb;
$custom-dark: #000000;
JSON
{
  "hex": "#af64f7",
  "rgb": {
    "r": 175,
    "g": 100,
    "b": 247
  },
  "hsl": {
    "h": 270.612,
    "s": 90.184,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65385,
    "c": 0.21424,
    "h": 304.7
  },
  "luminance": 0.24944
}

Semantic roles & 50–950 ramp

primary
#AF64F7
secondary
#DBF2C5
accent
#E60070
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF64F7

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

Preview Lab → · Contrast checker → · Palette generator →

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