#AF80DD#AF80DD

#AF80DD is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.2% C 0.141 H 306.3°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#AF80DD
RGBrgb(175, 128, 221)
HSLhsl(270, 58%, 68%)
HSVhsv(270, 42%, 87%)
CMYKcmyk(20.8%, 42.1%, 0%, 13.3%)
CIE-LABlab(61.46, 35.91, -40.79)
CIE-LCHlch(61.46, 54.34, 311.36°)
OKLaboklab(68.23% 0.0834 -0.1135)
OKLCHoklch(68.23% 0.141 306.3)
XYZxyz(38.4469, 29.7730, 72.1139)
Luminance0.2977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF80DD #AEDD80
analogous
#8080DD #AF80DD #DD80DC
triadic
#AF80DD #DDAF80 #80DDAF
tetradic
#AF80DD #DD8080 #AEDD80 #80DCDD
square
#AF80DD #DD8080 #AEDD80 #80DCDD
split-complementary
#AF80DD #DCDD80 #80DD80
monochromatic
#7230B3 #9150D0 #AF80DD #CDB0EA #ECE1F7

Accessibility & contrast

On white

3.02
#AF80DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#AF80DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF80DD
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF80DD#FFFFFF#000000##000000
##AF80DD1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A93E0
Deuteranopia (green-blind)
#7595DB
Tritanopia (blue-blind)
#A88FA4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af80dd;
/* rgb */ color: rgb(175, 128, 221);
/* oklch */ color: oklch(68.2% 0.141 306.3);
Tailwind
colors: {
  custom: {
    50: '#c8a5e8',
    500: '#af80dd',
    950: '#000000',
  },
}
SCSS
$custom: #af80dd;
$custom-light: #c8a5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#af80dd",
  "rgb": {
    "r": 175,
    "g": 128,
    "b": 221
  },
  "hsl": {
    "h": 270.323,
    "s": 57.764,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68227,
    "c": 0.14082,
    "h": 306.3
  },
  "luminance": 0.29773
}

Semantic roles & 50–950 ramp

primary
#AF80DD
secondary
#DCEACE
accent
#C52072
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AF80DD

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

Preview Lab → · Contrast checker → · Palette generator →

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