#AF66FE#AF66FE

#AF66FE is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.1% C 0.219 H 303.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AF66FE
RGBrgb(175, 102, 254)
HSLhsl(269, 99%, 70%)
HSVhsv(269, 60%, 100%)
CMYKcmyk(31.1%, 59.8%, 0%, 0.4%)
CIE-LABlab(57.82, 57.49, -64.90)
CIE-LCHlch(57.82, 86.70, 311.53°)
OKLaboklab(66.1% 0.1193 -0.1838)
OKLCHoklch(66.1% 0.219 303)
XYZxyz(40.3159, 25.7725, 96.5973)
Luminance0.2577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF66FE #B5FE66
analogous
#6669FE #AF66FE #FB66FE
triadic
#AF66FE #FEAF66 #66FEAF
tetradic
#AF66FE #FE6669 #B5FE66 #66FEFB
square
#AF66FE #FE6669 #B5FE66 #66FEFB
split-complementary
#AF66FE #FEFB66 #69FE66
monochromatic
#7002E8 #8F29FE #AF66FE #CFA3FE #EFE0FF

Accessibility & contrast

On white

3.41
#AF66FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#AF66FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF66FE
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF66FE#FFFFFF#000000##000000
##AF66FE1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0789FF
Deuteranopia (green-blind)
#3C8BFB
Tritanopia (blue-blind)
#A085A9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af66fe;
/* rgb */ color: rgb(175, 102, 254);
/* oklch */ color: oklch(66.1% 0.219 303.0);
Tailwind
colors: {
  custom: {
    50: '#cb95ff',
    500: '#af66fe',
    950: '#000000',
  },
}
SCSS
$custom: #af66fe;
$custom-light: #cb95ff;
$custom-dark: #000000;
JSON
{
  "hex": "#af66fe",
  "rgb": {
    "r": 175,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 268.816,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66104,
    "c": 0.21916,
    "h": 303
  },
  "luminance": 0.25772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF66FE

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

Preview Lab → · Contrast checker → · Palette generator →

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