#AF68C7#AF68C7

#AF68C7 is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.2% C 0.155 H 317.1°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AF68C7
RGBrgb(175, 104, 199)
HSLhsl(285, 46%, 59%)
HSVhsv(285, 48%, 78%)
CMYKcmyk(12.1%, 47.7%, 0%, 22%)
CIE-LABlab(55.22, 44.23, -38.17)
CIE-LCHlch(55.22, 58.43, 319.21°)
OKLaboklab(63.22% 0.1139 -0.1058)
OKLCHoklch(63.22% 0.155 317.1)
XYZxyz(32.9368, 23.1391, 56.7530)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF68C7 #80C768
analogous
#8068C7 #AF68C7 #C768B0
triadic
#AF68C7 #C7AF68 #68C7AF
tetradic
#AF68C7 #C78068 #80C768 #68B0C7
square
#AF68C7 #C78068 #80C768 #68B0C7
split-complementary
#AF68C7 #B0C768 #68C780
monochromatic
#6F3184 #9441B0 #AF68C7 #C795D8 #DEC1E8

Accessibility & contrast

On white

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

On black

5.63
#AF68C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF68C7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF68C7#FFFFFF#000000##000000
##AF68C71.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5680CA
Deuteranopia (green-blind)
#6B86C4
Tritanopia (blue-blind)
#AE768E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af68c7;
/* rgb */ color: rgb(175, 104, 199);
/* oklch */ color: oklch(63.2% 0.155 317.1);
Tailwind
colors: {
  custom: {
    50: '#c995d8',
    500: '#af68c7',
    950: '#000000',
  },
}
SCSS
$custom: #af68c7;
$custom-light: #c995d8;
$custom-dark: #000000;
JSON
{
  "hex": "#af68c7",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 199
  },
  "hsl": {
    "h": 284.842,
    "s": 45.894,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63219,
    "c": 0.15543,
    "h": 317.1
  },
  "luminance": 0.23138
}

Semantic roles & 50–950 ramp

primary
#AF68C7
secondary
#BCD8B3
accent
#D65273
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130D14
muted
#827E83

Preview Lab

Preview with #AF68C7

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

Preview Lab → · Contrast checker → · Palette generator →

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