#AF80CF#AF80CF

#AF80CF is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.6% C 0.124 H 310.7°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#AF80CF
RGBrgb(175, 128, 207)
HSLhsl(276, 45%, 66%)
HSVhsv(276, 38%, 81%)
CMYKcmyk(15.5%, 38.2%, 0%, 18.8%)
CIE-LABlab(60.83, 32.78, -33.92)
CIE-LCHlch(60.83, 47.17, 314.02°)
OKLaboklab(67.55% 0.0806 -0.0937)
OKLCHoklch(67.55% 0.124 310.7)
XYZxyz(36.6589, 29.0578, 62.6969)
Luminance0.2906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF80CF #A0CF80
analogous
#8780CF #AF80CF #CF80C7
triadic
#AF80CF #CFAF80 #80CFAF
tetradic
#AF80CF #CF8780 #A0CF80 #80C7CF
square
#AF80CF #CF8780 #A0CF80 #80C7CF
split-complementary
#AF80CF #C7CF80 #80CF87
monochromatic
#733A9A #9354BE #AF80CF #CBACE0 #E7D9F1

Accessibility & contrast

On white

3.08
#AF80CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#AF80CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF80CF
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF80CF#FFFFFF#000000##000000
##AF80CF1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7190D2
Deuteranopia (green-blind)
#7C94CD
Tritanopia (blue-blind)
#AC8B9E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af80cf;
/* rgb */ color: rgb(175, 128, 207);
/* oklch */ color: oklch(67.6% 0.124 310.7);
Tailwind
colors: {
  custom: {
    50: '#c8a5de',
    500: '#af80cf',
    950: '#000000',
  },
}
SCSS
$custom: #af80cf;
$custom-light: #c8a5de;
$custom-dark: #000000;
JSON
{
  "hex": "#af80cf",
  "rgb": {
    "r": 175,
    "g": 128,
    "b": 207
  },
  "hsl": {
    "h": 275.696,
    "s": 45.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67551,
    "c": 0.12363,
    "h": 310.7
  },
  "luminance": 0.29057
}

Semantic roles & 50–950 ramp

primary
#AF80CF
secondary
#D3E3C8
accent
#B82D66
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AF80CF

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

Preview Lab → · Contrast checker → · Palette generator →

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