#AF66DA#AF66DA

#AF66DA is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.9% C 0.179 H 311.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AF66DA
RGBrgb(175, 102, 218)
HSLhsl(278, 61%, 63%)
HSVhsv(278, 53%, 85%)
CMYKcmyk(19.7%, 53.2%, 0%, 14.5%)
CIE-LABlab(55.77, 49.33, -48.09)
CIE-LCHlch(55.77, 68.89, 315.73°)
OKLaboklab(63.94% 0.1187 -0.1346)
OKLCHoklch(63.94% 0.179 311.4)
XYZxyz(35.0832, 23.6794, 69.0385)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF66DA #91DA66
analogous
#7566DA #AF66DA #DA66CB
triadic
#AF66DA #DAAF66 #66DAAF
tetradic
#AF66DA #DA7566 #91DA66 #66CBDA
square
#AF66DA #DA7566 #91DA66 #66CBDA
split-complementary
#AF66DA #CBDA66 #66DA75
monochromatic
#72269F #9535CE #AF66DA #C997E6 #E3C9F2

Accessibility & contrast

On white

3.66
#AF66DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#AF66DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF66DA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF66DA#FFFFFF#000000##000000
##AF66DA1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4682DE
Deuteranopia (green-blind)
#5E87D7
Tritanopia (blue-blind)
#AA7A96
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af66da;
/* rgb */ color: rgb(175, 102, 218);
/* oklch */ color: oklch(63.9% 0.179 311.4);
Tailwind
colors: {
  custom: {
    50: '#c994e6',
    500: '#af66da',
    950: '#000000',
  },
}
SCSS
$custom: #af66da;
$custom-light: #c994e6;
$custom-dark: #000000;
JSON
{
  "hex": "#af66da",
  "rgb": {
    "r": 175,
    "g": 102,
    "b": 218
  },
  "hsl": {
    "h": 277.759,
    "s": 61.053,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63937,
    "c": 0.17942,
    "h": 311.4
  },
  "luminance": 0.23679
}

Semantic roles & 50–950 ramp

primary
#AF66DA
secondary
#C8E3B9
accent
#C91D5D
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AF66DA

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

Preview Lab → · Contrast checker → · Palette generator →

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