#AF66CF#AF66CF

#AF66CF is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.3% C 0.167 H 314.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AF66CF
RGBrgb(175, 102, 207)
HSLhsl(282, 52%, 61%)
HSVhsv(282, 51%, 81%)
CMYKcmyk(15.5%, 50.7%, 0%, 18.8%)
CIE-LABlab(55.20, 46.97, -42.75)
CIE-LCHlch(55.20, 63.51, 317.69°)
OKLaboklab(63.33% 0.1177 -0.1191)
OKLCHoklch(63.33% 0.167 314.7)
XYZxyz(33.6913, 23.1226, 61.7077)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF66CF #86CF66
analogous
#7A66CF #AF66CF #CF66BB
triadic
#AF66CF #CFAF66 #66CFAF
tetradic
#AF66CF #CF7A66 #86CF66 #66BBCF
square
#AF66CF #CF7A66 #86CF66 #66BBCF
split-complementary
#AF66CF #BBCF66 #66CF7A
monochromatic
#702D8E #953BBD #AF66CF #C795DE #E0C3EC

Accessibility & contrast

On white

3.73
#AF66CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#AF66CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF66CF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF66CF#FFFFFF#000000##000000
##AF66CF1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F80D3
Deuteranopia (green-blind)
#6586CC
Tritanopia (blue-blind)
#AD7691
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af66cf;
/* rgb */ color: rgb(175, 102, 207);
/* oklch */ color: oklch(63.3% 0.167 314.7);
Tailwind
colors: {
  custom: {
    50: '#c994de',
    500: '#af66cf',
    950: '#000000',
  },
}
SCSS
$custom: #af66cf;
$custom-light: #c994de;
$custom-dark: #000000;
JSON
{
  "hex": "#af66cf",
  "rgb": {
    "r": 175,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 281.714,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63334,
    "c": 0.16739,
    "h": 314.7
  },
  "luminance": 0.23122
}

Semantic roles & 50–950 ramp

primary
#AF66CF
secondary
#C1DCB4
accent
#C02655
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF66CF

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

Preview Lab → · Contrast checker → · Palette generator →

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