#AF64F8#AF64F8

#AF64F8 is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.4% C 0.215 H 304.5°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AF64F8
RGBrgb(175, 100, 248)
HSLhsl(270, 91%, 68%)
HSVhsv(270, 60%, 97%)
CMYKcmyk(29.4%, 59.7%, 0%, 2.7%)
CIE-LABlab(57.08, 57.10, -62.77)
CIE-LCHlch(57.08, 84.85, 312.29°)
OKLaboklab(65.45% 0.1218 -0.1776)
OKLCHoklch(65.45% 0.215 304.5)
XYZxyz(39.1759, 25.0058, 91.5515)
Luminance0.2501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF64F8 #ADF864
analogous
#6564F8 #AF64F8 #F864F7
triadic
#AF64F8 #F8AF64 #64F8AF
tetradic
#AF64F8 #F86564 #ADF864 #64F7F8
square
#AF64F8 #F86564 #ADF864 #64F7F8
split-complementary
#AF64F8 #F7F864 #64F865
monochromatic
#720AD8 #9129F5 #AF64F8 #CD9FFB #EBD9FD

Accessibility & contrast

On white

3.50
#AF64F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#AF64F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF64F8
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF64F8#FFFFFF#000000##000000
##AF64F81.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1487FD
Deuteranopia (green-blind)
#4189F5
Tritanopia (blue-blind)
#A282A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af64f8;
/* rgb */ color: rgb(175, 100, 248);
/* oklch */ color: oklch(65.4% 0.215 304.5);
Tailwind
colors: {
  custom: {
    50: '#cb93fb',
    500: '#af64f8',
    950: '#000000',
  },
}
SCSS
$custom: #af64f8;
$custom-light: #cb93fb;
$custom-dark: #000000;
JSON
{
  "hex": "#af64f8",
  "rgb": {
    "r": 175,
    "g": 100,
    "b": 248
  },
  "hsl": {
    "h": 270.405,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65449,
    "c": 0.21534,
    "h": 304.5
  },
  "luminance": 0.25006
}

Semantic roles & 50–950 ramp

primary
#AF64F8
secondary
#DCF2C5
accent
#E60071
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF64F8

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

Preview Lab → · Contrast checker → · Palette generator →

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