#AF64FB#AF64FB

#AF64FB is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.6% C 0.219 H 303.8°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AF64FB
RGBrgb(175, 100, 251)
HSLhsl(270, 95%, 69%)
HSVhsv(270, 60%, 98%)
CMYKcmyk(30.3%, 60.2%, 0%, 1.6%)
CIE-LABlab(57.26, 57.79, -64.14)
CIE-LCHlch(57.26, 86.33, 312.02°)
OKLaboklab(65.64% 0.1217 -0.1816)
OKLCHoklch(65.64% 0.219 303.8)
XYZxyz(39.6450, 25.1934, 94.0223)
Luminance0.2519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF64FB #B0FB64
analogous
#6465FB #AF64FB #FA64FB
triadic
#AF64FB #FBAF64 #64FBAF
tetradic
#AF64FB #FB6465 #B0FB64 #64FBFA
square
#AF64FB #FB6465 #B0FB64 #64FBFA
split-complementary
#AF64FB #FBFA64 #65FB64
monochromatic
#7206DF #9028F9 #AF64FB #CEA0FD #EDDBFE

Accessibility & contrast

On white

3.48
#AF64FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#AF64FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF64FB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF64FB#FFFFFF#000000##000000
##AF64FB1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0688FF
Deuteranopia (green-blind)
#3D89F8
Tritanopia (blue-blind)
#A183A6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af64fb;
/* rgb */ color: rgb(175, 100, 251);
/* oklch */ color: oklch(65.6% 0.219 303.8);
Tailwind
colors: {
  custom: {
    50: '#cb94fd',
    500: '#af64fb',
    950: '#000000',
  },
}
SCSS
$custom: #af64fb;
$custom-light: #cb94fd;
$custom-dark: #000000;
JSON
{
  "hex": "#af64fb",
  "rgb": {
    "r": 175,
    "g": 100,
    "b": 251
  },
  "hsl": {
    "h": 269.801,
    "s": 94.969,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6564,
    "c": 0.21861,
    "h": 303.8
  },
  "luminance": 0.25193
}

Semantic roles & 50–950 ramp

primary
#AF64FB
secondary
#DEF4C7
accent
#E60074
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AF64FB

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

Preview Lab → · Contrast checker → · Palette generator →

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