#AF6DC0#AF6DC0

#AF6DC0 is a light, vivid purple. Relative luminance 0.239; OKLCH L 63.7% C 0.139 H 319.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AF6DC0
RGBrgb(175, 109, 192)
HSLhsl(288, 40%, 59%)
HSVhsv(288, 43%, 75%)
CMYKcmyk(8.9%, 43.2%, 0%, 24.7%)
CIE-LABlab(55.95, 40.10, -33.03)
CIE-LCHlch(55.95, 51.95, 320.53°)
OKLaboklab(63.66% 0.1055 -0.091)
OKLCHoklch(63.66% 0.139 319.2)
XYZxyz(32.6610, 23.8581, 52.7435)
Luminance0.2386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6DC0 #7EC06D
analogous
#866DC0 #AF6DC0 #C06DA8
triadic
#AF6DC0 #C0AF6D #6DC0AF
tetradic
#AF6DC0 #C0866D #7EC06D #6DA8C0
square
#AF6DC0 #C0866D #7EC06D #6DA8C0
split-complementary
#AF6DC0 #A8C06D #6DC086
monochromatic
#6E367D #9448A8 #AF6DC0 #C698D2 #DEC3E5

Accessibility & contrast

On white

3.64
#AF6DC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#AF6DC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6DC0
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6DC0#FFFFFF#000000##000000
##AF6DC01.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6182C3
Deuteranopia (green-blind)
#7288BE
Tritanopia (blue-blind)
#B0788D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af6dc0;
/* rgb */ color: rgb(175, 109, 192);
/* oklch */ color: oklch(63.7% 0.139 319.2);
Tailwind
colors: {
  custom: {
    50: '#c898d3',
    500: '#af6dc0',
    950: '#000000',
  },
}
SCSS
$custom: #af6dc0;
$custom-light: #c898d3;
$custom-dark: #000000;
JSON
{
  "hex": "#af6dc0",
  "rgb": {
    "r": 175,
    "g": 109,
    "b": 192
  },
  "hsl": {
    "h": 287.711,
    "s": 39.713,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63658,
    "c": 0.13933,
    "h": 319.2
  },
  "luminance": 0.23857
}

Semantic roles & 50–950 ramp

primary
#AF6DC0
secondary
#BBD5B4
accent
#D05871
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130E14
muted
#827E83

Preview Lab

Preview with #AF6DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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