#AF6CC2#AF6CC2

#AF6CC2 is a light, vivid purple. Relative luminance 0.237; OKLCH L 63.6% C 0.143 H 318.5°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AF6CC2
RGBrgb(175, 108, 194)
HSLhsl(287, 41%, 59%)
HSVhsv(287, 44%, 76%)
CMYKcmyk(9.8%, 44.3%, 0%, 23.9%)
CIE-LABlab(55.82, 41.06, -34.37)
CIE-LCHlch(55.82, 53.54, 320.07°)
OKLaboklab(63.6% 0.1073 -0.0949)
OKLCHoklch(63.6% 0.143 318.5)
XYZxyz(32.7781, 23.7352, 53.8832)
Luminance0.2373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6CC2 #7FC26C
analogous
#846CC2 #AF6CC2 #C26CAA
triadic
#AF6CC2 #C2AF6C #6CC2AF
tetradic
#AF6CC2 #C2846C #7FC26C #6CAAC2
square
#AF6CC2 #C2846C #7FC26C #6CAAC2
split-complementary
#AF6CC2 #AAC26C #6CC284
monochromatic
#6F357F #9447AA #AF6CC2 #C797D4 #DEC3E6

Accessibility & contrast

On white

3.65
#AF6CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#AF6CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6CC2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6CC2#FFFFFF#000000##000000
##AF6CC21.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E81C5
Deuteranopia (green-blind)
#7088C0
Tritanopia (blue-blind)
#AF778E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af6cc2;
/* rgb */ color: rgb(175, 108, 194);
/* oklch */ color: oklch(63.6% 0.143 318.5);
Tailwind
colors: {
  custom: {
    50: '#c898d4',
    500: '#af6cc2',
    950: '#000000',
  },
}
SCSS
$custom: #af6cc2;
$custom-light: #c898d4;
$custom-dark: #000000;
JSON
{
  "hex": "#af6cc2",
  "rgb": {
    "r": 175,
    "g": 108,
    "b": 194
  },
  "hsl": {
    "h": 286.744,
    "s": 41.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63595,
    "c": 0.14323,
    "h": 318.5
  },
  "luminance": 0.23734
}

Semantic roles & 50–950 ramp

primary
#AF6CC2
secondary
#BCD6B4
accent
#D15772
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130E14
muted
#827E83

Preview Lab

Preview with #AF6CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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