#AF66FD#AF66FD

#AF66FD is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 66.0% C 0.218 H 303.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AF66FD
RGBrgb(175, 102, 253)
HSLhsl(269, 97%, 70%)
HSVhsv(269, 60%, 99%)
CMYKcmyk(30.8%, 59.7%, 0%, 0.8%)
CIE-LABlab(57.76, 57.25, -64.44)
CIE-LCHlch(57.76, 86.20, 311.62°)
OKLaboklab(66.04% 0.1194 -0.1825)
OKLCHoklch(66.04% 0.218 303.2)
XYZxyz(40.1562, 25.7086, 95.7562)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF66FD #B4FD66
analogous
#6669FD #AF66FD #FB66FD
triadic
#AF66FD #FDAF66 #66FDAF
tetradic
#AF66FD #FD6669 #B4FD66 #66FDFB
square
#AF66FD #FD6669 #B4FD66 #66FDFB
split-complementary
#AF66FD #FDFB66 #69FD66
monochromatic
#7103E6 #8F2AFC #AF66FD #CFA2FE #EEDFFF

Accessibility & contrast

On white

3.42
#AF66FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#AF66FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF66FD
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF66FD#FFFFFF#000000##000000
##AF66FD1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D89FF
Deuteranopia (green-blind)
#3E8AFA
Tritanopia (blue-blind)
#A085A8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af66fd;
/* rgb */ color: rgb(175, 102, 253);
/* oklch */ color: oklch(66.0% 0.218 303.2);
Tailwind
colors: {
  custom: {
    50: '#cb95ff',
    500: '#af66fd',
    950: '#000000',
  },
}
SCSS
$custom: #af66fd;
$custom-light: #cb95ff;
$custom-dark: #000000;
JSON
{
  "hex": "#af66fd",
  "rgb": {
    "r": 175,
    "g": 102,
    "b": 253
  },
  "hsl": {
    "h": 269.007,
    "s": 97.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6604,
    "c": 0.21806,
    "h": 303.2
  },
  "luminance": 0.25709
}

Semantic roles & 50–950 ramp

primary
#AF66FD
secondary
#E0F5CA
accent
#E60077
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AF66FD

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

Preview Lab → · Contrast checker → · Palette generator →

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