#AF66EE#AF66EE

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

Color values

HEX#AF66EE
RGBrgb(175, 102, 238)
HSLhsl(272, 80%, 67%)
HSVhsv(272, 57%, 93%)
CMYKcmyk(26.5%, 57.1%, 0%, 6.7%)
CIE-LABlab(56.87, 53.79, -57.55)
CIE-LCHlch(56.87, 78.77, 313.07°)
OKLaboklab(65.11% 0.1195 -0.1622)
OKLCHoklch(65.11% 0.202 306.4)
XYZxyz(37.8599, 24.7901, 83.6628)
Luminance0.2479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF66EE #A5EE66
analogous
#6B66EE #AF66EE #EE66E9
triadic
#AF66EE #EEAF66 #66EEAF
tetradic
#AF66EE #EE6B66 #A5EE66 #66E9EE
square
#AF66EE #EE6B66 #A5EE66 #66E9EE
split-complementary
#AF66EE #E9EE66 #66EE6B
monochromatic
#7316C4 #922FE8 #AF66EE #CC9DF4 #E9D4FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF66EE#FFFFFF#000000##000000
##AF66EE1.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)
#3086F2
Deuteranopia (green-blind)
#4E89EB
Tritanopia (blue-blind)
#A580A0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af66ee;
/* rgb */ color: rgb(175, 102, 238);
/* oklch */ color: oklch(65.1% 0.202 306.4);
Tailwind
colors: {
  custom: {
    50: '#ca94f4',
    500: '#af66ee',
    950: '#000000',
  },
}
SCSS
$custom: #af66ee;
$custom-light: #ca94f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af66ee",
  "rgb": {
    "r": 175,
    "g": 102,
    "b": 238
  },
  "hsl": {
    "h": 272.206,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65105,
    "c": 0.2015,
    "h": 306.4
  },
  "luminance": 0.2479
}

Semantic roles & 50–950 ramp

primary
#AF66EE
secondary
#D6EEC2
accent
#DC096B
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF66EE

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

Preview Lab → · Contrast checker → · Palette generator →

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