#AF80CC#AF80CC

#AF80CC is a light, moderate violet. Relative luminance 0.289; OKLCH L 67.4% C 0.120 H 311.8°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#AF80CC
RGBrgb(175, 128, 204)
HSLhsl(277, 43%, 65%)
HSVhsv(277, 37%, 80%)
CMYKcmyk(14.2%, 37.3%, 0%, 20%)
CIE-LABlab(60.70, 32.13, -32.43)
CIE-LCHlch(60.70, 45.65, 314.73°)
OKLaboklab(67.41% 0.08 -0.0894)
OKLCHoklch(67.41% 0.12 311.8)
XYZxyz(36.2956, 28.9125, 60.7837)
Luminance0.2891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF80CC #9DCC80
analogous
#8980CC #AF80CC #CC80C3
triadic
#AF80CC #CCAF80 #80CCAF
tetradic
#AF80CC #CC8980 #9DCC80 #80C3CC
square
#AF80CC #CC8980 #9DCC80 #80C3CC
split-complementary
#AF80CC #C3CC80 #80CC89
monochromatic
#733C96 #9354BA #AF80CC #CBACDE #E6D7EF

Accessibility & contrast

On white

3.10
#AF80CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#AF80CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF80CC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF80CC#FFFFFF#000000##000000
##AF80CC1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7290CF
Deuteranopia (green-blind)
#7D93CA
Tritanopia (blue-blind)
#AC8B9C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #af80cc;
/* rgb */ color: rgb(175, 128, 204);
/* oklch */ color: oklch(67.4% 0.120 311.8);
Tailwind
colors: {
  custom: {
    50: '#c8a5dc',
    500: '#af80cc',
    950: '#000000',
  },
}
SCSS
$custom: #af80cc;
$custom-light: #c8a5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af80cc",
  "rgb": {
    "r": 175,
    "g": 128,
    "b": 204
  },
  "hsl": {
    "h": 277.105,
    "s": 42.697,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67411,
    "c": 0.11998,
    "h": 311.8
  },
  "luminance": 0.28912
}

Semantic roles & 50–950 ramp

primary
#AF80CC
secondary
#D1E1C7
accent
#B63063
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AF80CC

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

Preview Lab → · Contrast checker → · Palette generator →

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