#AF66CA#AF66CA

#AF66CA is a light, vivid purple. Relative luminance 0.229; OKLCH L 63.1% C 0.162 H 316.3°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AF66CA
RGBrgb(175, 102, 202)
HSLhsl(284, 49%, 60%)
HSVhsv(284, 50%, 79%)
CMYKcmyk(13.4%, 49.5%, 0%, 20.8%)
CIE-LABlab(54.95, 45.92, -40.30)
CIE-LCHlch(54.95, 61.09, 318.73°)
OKLaboklab(63.07% 0.1171 -0.1119)
OKLCHoklch(63.07% 0.162 316.3)
XYZxyz(33.0896, 22.8820, 58.5393)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF66CA #81CA66
analogous
#7D66CA #AF66CA #CA66B3
triadic
#AF66CA #CAAF66 #66CAAF
tetradic
#AF66CA #CA7D66 #81CA66 #66B3CA
square
#AF66CA #CA7D66 #81CA66 #66B3CA
split-complementary
#AF66CA #B3CA66 #66CA7D
monochromatic
#6F2F87 #953EB4 #AF66CA #C793DA #DFC1E9

Accessibility & contrast

On white

3.77
#AF66CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#AF66CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF66CA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF66CA#FFFFFF#000000##000000
##AF66CA1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#527FCD
Deuteranopia (green-blind)
#6886C7
Tritanopia (blue-blind)
#AE758F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af66ca;
/* rgb */ color: rgb(175, 102, 202);
/* oklch */ color: oklch(63.1% 0.162 316.3);
Tailwind
colors: {
  custom: {
    50: '#c994da',
    500: '#af66ca',
    950: '#000000',
  },
}
SCSS
$custom: #af66ca;
$custom-light: #c994da;
$custom-dark: #000000;
JSON
{
  "hex": "#af66ca",
  "rgb": {
    "r": 175,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 283.8,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6307,
    "c": 0.16197,
    "h": 316.3
  },
  "luminance": 0.22881
}

Semantic roles & 50–950 ramp

primary
#AF66CA
secondary
#BDD9B2
accent
#D85075
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF66CA

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

Preview Lab → · Contrast checker → · Palette generator →

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