#AF64F9#AF64F9

#AF64F9 is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.5% C 0.216 H 304.2°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AF64F9
RGBrgb(175, 100, 249)
HSLhsl(270, 93%, 68%)
HSVhsv(270, 60%, 98%)
CMYKcmyk(29.7%, 59.8%, 0%, 2.4%)
CIE-LABlab(57.14, 57.33, -63.22)
CIE-LCHlch(57.14, 85.35, 312.20°)
OKLaboklab(65.51% 0.1218 -0.1789)
OKLCHoklch(65.51% 0.216 304.2)
XYZxyz(39.3314, 25.0680, 92.3707)
Luminance0.2507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF64F9 #AEF964
analogous
#6464F9 #AF64F9 #F964F9
triadic
#AF64F9 #F9AF64 #64F9AF
tetradic
#AF64F9 #F96464 #AEF964 #64F9F9
square
#AF64F9 #F96464 #AEF964 #64F9F9
split-complementary
#AF64F9 #F9F964 #64F964
monochromatic
#7208DA #9129F7 #AF64F9 #CD9FFB #ECDAFE

Accessibility & contrast

On white

3.49
#AF64F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#AF64F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF64F9
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF64F9#FFFFFF#000000##000000
##AF64F91.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1087FE
Deuteranopia (green-blind)
#4089F6
Tritanopia (blue-blind)
#A282A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af64f9;
/* rgb */ color: rgb(175, 100, 249);
/* oklch */ color: oklch(65.5% 0.216 304.2);
Tailwind
colors: {
  custom: {
    50: '#cb93fc',
    500: '#af64f9',
    950: '#000000',
  },
}
SCSS
$custom: #af64f9;
$custom-light: #cb93fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af64f9",
  "rgb": {
    "r": 175,
    "g": 100,
    "b": 249
  },
  "hsl": {
    "h": 270.201,
    "s": 92.547,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65512,
    "c": 0.21643,
    "h": 304.2
  },
  "luminance": 0.25068
}

Semantic roles & 50–950 ramp

primary
#AF64F9
secondary
#DCF3C6
accent
#E60072
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AF64F9

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

Preview Lab → · Contrast checker → · Palette generator →

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