#AF64F5#AF64F5

#AF64F5 is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.3% C 0.212 H 305.1°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AF64F5
RGBrgb(175, 100, 245)
HSLhsl(271, 88%, 68%)
HSVhsv(271, 59%, 96%)
CMYKcmyk(28.6%, 59.2%, 0%, 3.9%)
CIE-LABlab(56.90, 56.41, -61.39)
CIE-LCHlch(56.90, 83.37, 312.58°)
OKLaboklab(65.26% 0.1219 -0.1735)
OKLCHoklch(65.26% 0.212 305.1)
XYZxyz(38.7142, 24.8211, 89.1199)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF64F5 #AAF564
analogous
#6664F5 #AF64F5 #F564F3
triadic
#AF64F5 #F5AF64 #64F5AF
tetradic
#AF64F5 #F56664 #AAF564 #64F3F5
square
#AF64F5 #F56664 #AAF564 #64F3F5
split-complementary
#AF64F5 #F3F564 #64F566
monochromatic
#730DD1 #912BF1 #AF64F5 #CD9DF9 #EAD7FC

Accessibility & contrast

On white

3.52
#AF64F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#AF64F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF64F5
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF64F5#FFFFFF#000000##000000
##AF64F51.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D86FA
Deuteranopia (green-blind)
#4589F2
Tritanopia (blue-blind)
#A381A3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af64f5;
/* rgb */ color: rgb(175, 100, 245);
/* oklch */ color: oklch(65.3% 0.212 305.1);
Tailwind
colors: {
  custom: {
    50: '#cb93f9',
    500: '#af64f5',
    950: '#000000',
  },
}
SCSS
$custom: #af64f5;
$custom-light: #cb93f9;
$custom-dark: #000000;
JSON
{
  "hex": "#af64f5",
  "rgb": {
    "r": 175,
    "g": 100,
    "b": 245
  },
  "hsl": {
    "h": 271.034,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6526,
    "c": 0.21205,
    "h": 305.1
  },
  "luminance": 0.24821
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF64F5

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

Preview Lab → · Contrast checker → · Palette generator →

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