#AF66EA#AF66EA

#AF66EA is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.9% C 0.197 H 307.3°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AF66EA
RGBrgb(175, 102, 234)
HSLhsl(273, 76%, 66%)
HSVhsv(273, 56%, 92%)
CMYKcmyk(25.2%, 56.4%, 0%, 8.2%)
CIE-LABlab(56.64, 52.89, -55.68)
CIE-LCHlch(56.64, 76.79, 313.53°)
OKLaboklab(64.86% 0.1194 -0.1568)
OKLCHoklch(64.86% 0.197 307.3)
XYZxyz(37.2788, 24.5576, 80.6022)
Luminance0.2456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF66EA #A1EA66
analogous
#6D66EA #AF66EA #EA66E3
triadic
#AF66EA #EAAF66 #66EAAF
tetradic
#AF66EA #EA6D66 #A1EA66 #66E3EA
square
#AF66EA #EA6D66 #A1EA66 #66E3EA
split-complementary
#AF66EA #E3EA66 #66EA6D
monochromatic
#731ABC #9330E3 #AF66EA #CB9CF1 #E7D2F9

Accessibility & contrast

On white

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

On black

5.91
#AF66EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF66EA
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF66EA#FFFFFF#000000##000000
##AF66EA1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3685EE
Deuteranopia (green-blind)
#5289E7
Tritanopia (blue-blind)
#A67F9E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af66ea;
/* rgb */ color: rgb(175, 102, 234);
/* oklch */ color: oklch(64.9% 0.197 307.3);
Tailwind
colors: {
  custom: {
    50: '#ca94f1',
    500: '#af66ea',
    950: '#000000',
  },
}
SCSS
$custom: #af66ea;
$custom-light: #ca94f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af66ea",
  "rgb": {
    "r": 175,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 273.182,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64865,
    "c": 0.19708,
    "h": 307.3
  },
  "luminance": 0.24557
}

Semantic roles & 50–950 ramp

primary
#AF66EA
secondary
#D4ECC0
accent
#D80D68
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF66EA

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

Preview Lab → · Contrast checker → · Palette generator →

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