#AF66CD#AF66CD

#AF66CD is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.2% C 0.165 H 315.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AF66CD
RGBrgb(175, 102, 205)
HSLhsl(283, 51%, 60%)
HSVhsv(283, 50%, 80%)
CMYKcmyk(14.6%, 50.2%, 0%, 19.6%)
CIE-LABlab(55.10, 46.55, -41.77)
CIE-LCHlch(55.10, 62.54, 318.09°)
OKLaboklab(63.23% 0.1174 -0.1162)
OKLCHoklch(63.23% 0.165 315.3)
XYZxyz(33.4483, 23.0254, 60.4282)
Luminance0.2302 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF66CD #84CD66
analogous
#7B66CD #AF66CD #CD66B8
triadic
#AF66CD #CDAF66 #66CDAF
tetradic
#AF66CD #CD7B66 #84CD66 #66B8CD
square
#AF66CD #CD7B66 #84CD66 #66B8CD
split-complementary
#AF66CD #B8CD66 #66CD7B
monochromatic
#702D8B #953DB9 #AF66CD #C794DC #DFC2EB

Accessibility & contrast

On white

3.75
#AF66CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#AF66CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF66CD
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF66CD#FFFFFF#000000##000000
##AF66CD1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D1
Deuteranopia (green-blind)
#6686CA
Tritanopia (blue-blind)
#AD7690
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af66cd;
/* rgb */ color: rgb(175, 102, 205);
/* oklch */ color: oklch(63.2% 0.165 315.3);
Tailwind
colors: {
  custom: {
    50: '#c994dc',
    500: '#af66cd',
    950: '#000000',
  },
}
SCSS
$custom: #af66cd;
$custom-light: #c994dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af66cd",
  "rgb": {
    "r": 175,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 282.524,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63228,
    "c": 0.16522,
    "h": 315.3
  },
  "luminance": 0.23024
}

Semantic roles & 50–950 ramp

primary
#AF66CD
secondary
#BFDBB4
accent
#BE2753
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF66CD

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

Preview Lab → · Contrast checker → · Palette generator →

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