#AF64F1#AF64F1

#AF64F1 is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.0% C 0.208 H 306.0°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AF64F1
RGBrgb(175, 100, 241)
HSLhsl(272, 83%, 67%)
HSVhsv(272, 59%, 95%)
CMYKcmyk(27.4%, 58.5%, 0%, 5.5%)
CIE-LABlab(56.66, 55.49, -59.55)
CIE-LCHlch(56.66, 81.40, 312.98°)
OKLaboklab(65.01% 0.1219 -0.1681)
OKLCHoklch(65.01% 0.208 306)
XYZxyz(38.1102, 24.5795, 85.9387)
Luminance0.2458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF64F1 #A6F164
analogous
#6964F1 #AF64F1 #F164EC
triadic
#AF64F1 #F1AF64 #64F1AF
tetradic
#AF64F1 #F16964 #A6F164 #64ECF1
square
#AF64F1 #F16964 #A6F164 #64ECF1
split-complementary
#AF64F1 #ECF164 #64F169
monochromatic
#7312C8 #922CEC #AF64F1 #CC9CF6 #E9D4FB

Accessibility & contrast

On white

3.55
#AF64F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#AF64F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF64F1
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF64F1#FFFFFF#000000##000000
##AF64F11.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2686F6
Deuteranopia (green-blind)
#4988EE
Tritanopia (blue-blind)
#A480A1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af64f1;
/* rgb */ color: rgb(175, 100, 241);
/* oklch */ color: oklch(65.0% 0.208 306.0);
Tailwind
colors: {
  custom: {
    50: '#cb93f6',
    500: '#af64f1',
    950: '#000000',
  },
}
SCSS
$custom: #af64f1;
$custom-light: #cb93f6;
$custom-dark: #000000;
JSON
{
  "hex": "#af64f1",
  "rgb": {
    "r": 175,
    "g": 100,
    "b": 241
  },
  "hsl": {
    "h": 271.915,
    "s": 83.432,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6501,
    "c": 0.20767,
    "h": 306
  },
  "luminance": 0.24579
}

Semantic roles & 50–950 ramp

primary
#AF64F1
secondary
#D7EFC2
accent
#E0066C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF64F1

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

Preview Lab → · Contrast checker → · Palette generator →

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