#AF66DD#AF66DD

#AF66DD is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.1% C 0.183 H 310.6°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AF66DD
RGBrgb(175, 102, 221)
HSLhsl(277, 64%, 63%)
HSVhsv(277, 54%, 87%)
CMYKcmyk(20.8%, 53.8%, 0%, 13.3%)
CIE-LABlab(55.92, 49.99, -49.52)
CIE-LCHlch(55.92, 70.37, 315.27°)
OKLaboklab(64.11% 0.1189 -0.1388)
OKLCHoklch(64.11% 0.183 310.6)
XYZxyz(35.4793, 23.8378, 71.1247)
Luminance0.2384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF66DD #94DD66
analogous
#7366DD #AF66DD #DD66CF
triadic
#AF66DD #DDAF66 #66DDAF
tetradic
#AF66DD #DD7366 #94DD66 #66CFDD
square
#AF66DD #DD7366 #94DD66 #66CFDD
split-complementary
#AF66DD #CFDD66 #66DD73
monochromatic
#7324A4 #9534D2 #AF66DD #C998E8 #E3CAF3

Accessibility & contrast

On white

3.64
#AF66DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#AF66DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF66DD
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF66DD#FFFFFF#000000##000000
##AF66DD1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4483E1
Deuteranopia (green-blind)
#5C87DA
Tritanopia (blue-blind)
#A97B98
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af66dd;
/* rgb */ color: rgb(175, 102, 221);
/* oklch */ color: oklch(64.1% 0.183 310.6);
Tailwind
colors: {
  custom: {
    50: '#ca94e8',
    500: '#af66dd',
    950: '#000000',
  },
}
SCSS
$custom: #af66dd;
$custom-light: #ca94e8;
$custom-dark: #000000;
JSON
{
  "hex": "#af66dd",
  "rgb": {
    "r": 175,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 276.807,
    "s": 63.636,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64106,
    "c": 0.18272,
    "h": 310.6
  },
  "luminance": 0.23837
}

Semantic roles & 50–950 ramp

primary
#AF66DD
secondary
#CBE5BA
accent
#CB1A5F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AF66DD

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

Preview Lab → · Contrast checker → · Palette generator →

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