#AF64FA#AF64FA

#AF64FA is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.6% C 0.218 H 304.0°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AF64FA
RGBrgb(175, 100, 250)
HSLhsl(270, 94%, 69%)
HSVhsv(270, 60%, 98%)
CMYKcmyk(30%, 60%, 0%, 2%)
CIE-LABlab(57.20, 57.56, -63.68)
CIE-LCHlch(57.20, 85.84, 312.11°)
OKLaboklab(65.58% 0.1218 -0.1802)
OKLCHoklch(65.58% 0.218 304)
XYZxyz(39.4878, 25.1306, 93.1943)
Luminance0.2513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF64FA #AFFA64
analogous
#6464FA #AF64FA #FA64FA
triadic
#AF64FA #FAAF64 #64FAAF
tetradic
#AF64FA #FA6464 #AFFA64 #64FAFA
square
#AF64FA #FA6464 #AFFA64 #64FAFA
split-complementary
#AF64FA #FAFA64 #64FA64
monochromatic
#7207DC #9029F8 #AF64FA #CE9FFC #ECDBFE

Accessibility & contrast

On white

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

On black

6.03
#AF64FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF64FA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF64FA#FFFFFF#000000##000000
##AF64FA1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C87FF
Deuteranopia (green-blind)
#3F89F7
Tritanopia (blue-blind)
#A183A6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af64fa;
/* rgb */ color: rgb(175, 100, 250);
/* oklch */ color: oklch(65.6% 0.218 304.0);
Tailwind
colors: {
  custom: {
    50: '#cb93fd',
    500: '#af64fa',
    950: '#000000',
  },
}
SCSS
$custom: #af64fa;
$custom-light: #cb93fd;
$custom-dark: #000000;
JSON
{
  "hex": "#af64fa",
  "rgb": {
    "r": 175,
    "g": 100,
    "b": 250
  },
  "hsl": {
    "h": 270,
    "s": 93.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65576,
    "c": 0.21752,
    "h": 304
  },
  "luminance": 0.2513
}

Semantic roles & 50–950 ramp

primary
#AF64FA
secondary
#DDF3C7
accent
#E60073
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AF64FA

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

Preview Lab → · Contrast checker → · Palette generator →

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