#AF66CB#AF66CB

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

Color values

HEX#AF66CB
RGBrgb(175, 102, 203)
HSLhsl(283, 49%, 60%)
HSVhsv(283, 50%, 80%)
CMYKcmyk(13.8%, 49.8%, 0%, 20.4%)
CIE-LABlab(55.00, 46.13, -40.79)
CIE-LCHlch(55.00, 61.58, 318.51°)
OKLaboklab(63.12% 0.1172 -0.1134)
OKLCHoklch(63.12% 0.163 315.9)
XYZxyz(33.2084, 22.9295, 59.1648)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF66CB #82CB66
analogous
#7C66CB #AF66CB #CB66B5
triadic
#AF66CB #CBAF66 #66CBAF
tetradic
#AF66CB #CB7C66 #82CB66 #66B5CB
square
#AF66CB #CB7C66 #82CB66 #66B5CB
split-complementary
#AF66CB #B5CB66 #66CB7C
monochromatic
#6F2E88 #953EB6 #AF66CB #C794DB #DFC1EA

Accessibility & contrast

On white

3.76
#AF66CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#AF66CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF66CB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF66CB#FFFFFF#000000##000000
##AF66CB1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCE
Deuteranopia (green-blind)
#6786C8
Tritanopia (blue-blind)
#AE758F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af66cb;
/* rgb */ color: rgb(175, 102, 203);
/* oklch */ color: oklch(63.1% 0.163 315.9);
Tailwind
colors: {
  custom: {
    50: '#c994db',
    500: '#af66cb',
    950: '#000000',
  },
}
SCSS
$custom: #af66cb;
$custom-light: #c994db;
$custom-dark: #000000;
JSON
{
  "hex": "#af66cb",
  "rgb": {
    "r": 175,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 283.366,
    "s": 49.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63122,
    "c": 0.16306,
    "h": 315.9
  },
  "luminance": 0.22928
}

Semantic roles & 50–950 ramp

primary
#AF66CB
secondary
#BEDAB3
accent
#D94F75
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF66CB

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

Preview Lab → · Contrast checker → · Palette generator →

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