#AF64F0#AF64F0

#AF64F0 is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 64.9% C 0.207 H 306.2°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AF64F0
RGBrgb(175, 100, 240)
HSLhsl(272, 82%, 67%)
HSVhsv(272, 58%, 94%)
CMYKcmyk(27.1%, 58.3%, 0%, 5.9%)
CIE-LABlab(56.60, 55.27, -59.09)
CIE-LCHlch(56.60, 80.90, 313.09°)
OKLaboklab(64.95% 0.1219 -0.1668)
OKLCHoklch(64.95% 0.207 306.2)
XYZxyz(37.9612, 24.5199, 85.1542)
Luminance0.2452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF64F0 #A5F064
analogous
#6964F0 #AF64F0 #F064EB
triadic
#AF64F0 #F0AF64 #64F0AF
tetradic
#AF64F0 #F06964 #A5F064 #64EBF0
square
#AF64F0 #F06964 #A5F064 #64EBF0
split-complementary
#AF64F0 #EBF064 #64F069
monochromatic
#7313C6 #922CEB #AF64F0 #CC9CF5 #E9D4FB

Accessibility & contrast

On white

3.56
#AF64F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#AF64F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF64F0
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF64F0#FFFFFF#000000##000000
##AF64F01.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2885F5
Deuteranopia (green-blind)
#4A88ED
Tritanopia (blue-blind)
#A47FA1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af64f0;
/* rgb */ color: rgb(175, 100, 240);
/* oklch */ color: oklch(64.9% 0.207 306.2);
Tailwind
colors: {
  custom: {
    50: '#cb93f6',
    500: '#af64f0',
    950: '#000000',
  },
}
SCSS
$custom: #af64f0;
$custom-light: #cb93f6;
$custom-dark: #000000;
JSON
{
  "hex": "#af64f0",
  "rgb": {
    "r": 175,
    "g": 100,
    "b": 240
  },
  "hsl": {
    "h": 272.143,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64949,
    "c": 0.20659,
    "h": 306.2
  },
  "luminance": 0.2452
}

Semantic roles & 50–950 ramp

primary
#AF64F0
secondary
#D6EEC1
accent
#DF076B
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF64F0

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

Preview Lab → · Contrast checker → · Palette generator →

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