#AF80CE#AF80CE

#AF80CE is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.5% C 0.122 H 311.1°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#AF80CE
RGBrgb(175, 128, 206)
HSLhsl(276, 44%, 65%)
HSVhsv(276, 38%, 81%)
CMYKcmyk(15%, 37.9%, 0%, 19.2%)
CIE-LABlab(60.79, 32.56, -33.42)
CIE-LCHlch(60.79, 46.66, 314.25°)
OKLaboklab(67.5% 0.0804 -0.0923)
OKLCHoklch(67.5% 0.122 311.1)
XYZxyz(36.5370, 29.0091, 62.0551)
Luminance0.2901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF80CE #9FCE80
analogous
#8880CE #AF80CE #CE80C6
triadic
#AF80CE #CEAF80 #80CEAF
tetradic
#AF80CE #CE8880 #9FCE80 #80C6CE
square
#AF80CE #CE8880 #9FCE80 #80C6CE
split-complementary
#AF80CE #C6CE80 #80CE88
monochromatic
#733B99 #9354BD #AF80CE #CBACDF #E7D8F0

Accessibility & contrast

On white

3.09
#AF80CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#AF80CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF80CE
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF80CE#FFFFFF#000000##000000
##AF80CE1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7190D1
Deuteranopia (green-blind)
#7C94CC
Tritanopia (blue-blind)
#AC8B9D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af80ce;
/* rgb */ color: rgb(175, 128, 206);
/* oklch */ color: oklch(67.5% 0.122 311.1);
Tailwind
colors: {
  custom: {
    50: '#c8a5dd',
    500: '#af80ce',
    950: '#000000',
  },
}
SCSS
$custom: #af80ce;
$custom-light: #c8a5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af80ce",
  "rgb": {
    "r": 175,
    "g": 128,
    "b": 206
  },
  "hsl": {
    "h": 276.154,
    "s": 44.318,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67504,
    "c": 0.12242,
    "h": 311.1
  },
  "luminance": 0.29009
}

Semantic roles & 50–950 ramp

primary
#AF80CE
secondary
#D2E2C8
accent
#B72E65
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AF80CE

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

Preview Lab → · Contrast checker → · Palette generator →

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