#AF64F6#AF64F6

#AF64F6 is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.3% C 0.213 H 304.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AF64F6
RGBrgb(175, 100, 246)
HSLhsl(271, 89%, 68%)
HSVhsv(271, 59%, 96%)
CMYKcmyk(28.9%, 59.3%, 0%, 3.5%)
CIE-LABlab(56.96, 56.64, -61.85)
CIE-LCHlch(56.96, 83.87, 312.48°)
OKLaboklab(65.32% 0.1219 -0.1749)
OKLCHoklch(65.32% 0.213 304.9)
XYZxyz(38.8673, 24.8823, 89.9261)
Luminance0.2488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF64F6 #ABF664
analogous
#6664F6 #AF64F6 #F664F4
triadic
#AF64F6 #F6AF64 #64F6AF
tetradic
#AF64F6 #F66664 #ABF664 #64F4F6
square
#AF64F6 #F66664 #ABF664 #64F4F6
split-complementary
#AF64F6 #F4F664 #64F666
monochromatic
#730CD3 #912AF3 #AF64F6 #CD9EF9 #EBD8FD

Accessibility & contrast

On white

3.51
#AF64F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#AF64F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF64F6
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF64F6#FFFFFF#000000##000000
##AF64F61.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A87FB
Deuteranopia (green-blind)
#4489F3
Tritanopia (blue-blind)
#A281A4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af64f6;
/* rgb */ color: rgb(175, 100, 246);
/* oklch */ color: oklch(65.3% 0.213 304.9);
Tailwind
colors: {
  custom: {
    50: '#cb93fa',
    500: '#af64f6',
    950: '#000000',
  },
}
SCSS
$custom: #af64f6;
$custom-light: #cb93fa;
$custom-dark: #000000;
JSON
{
  "hex": "#af64f6",
  "rgb": {
    "r": 175,
    "g": 100,
    "b": 246
  },
  "hsl": {
    "h": 270.822,
    "s": 89.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65322,
    "c": 0.21315,
    "h": 304.9
  },
  "luminance": 0.24882
}

Semantic roles & 50–950 ramp

primary
#AF64F6
secondary
#DAF1C4
accent
#E60070
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF64F6

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

Preview Lab → · Contrast checker → · Palette generator →

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