#AF80DB#AF80DB

#AF80DB is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.1% C 0.138 H 306.9°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#AF80DB
RGBrgb(175, 128, 219)
HSLhsl(271, 56%, 68%)
HSVhsv(271, 42%, 86%)
CMYKcmyk(20.1%, 41.6%, 0%, 14.1%)
CIE-LABlab(61.37, 35.46, -39.81)
CIE-LCHlch(61.37, 53.31, 311.69°)
OKLaboklab(68.13% 0.083 -0.1107)
OKLCHoklch(68.13% 0.138 306.9)
XYZxyz(38.1820, 29.6671, 70.7190)
Luminance0.2967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF80DB #ACDB80
analogous
#8180DB #AF80DB #DB80D9
triadic
#AF80DB #DBAF80 #80DBAF
tetradic
#AF80DB #DB8180 #ACDB80 #80D9DB
square
#AF80DB #DB8180 #ACDB80 #80D9DB
split-complementary
#AF80DB #D9DB80 #80DB81
monochromatic
#7232AF #9150CD #AF80DB #CDB0E9 #EBDFF6

Accessibility & contrast

On white

3.03
#AF80DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#AF80DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF80DB
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF80DB#FFFFFF#000000##000000
##AF80DB1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B92DE
Deuteranopia (green-blind)
#7695D9
Tritanopia (blue-blind)
#A98EA3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af80db;
/* rgb */ color: rgb(175, 128, 219);
/* oklch */ color: oklch(68.1% 0.138 306.9);
Tailwind
colors: {
  custom: {
    50: '#c8a5e6',
    500: '#af80db',
    950: '#000000',
  },
}
SCSS
$custom: #af80db;
$custom-light: #c8a5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#af80db",
  "rgb": {
    "r": 175,
    "g": 128,
    "b": 219
  },
  "hsl": {
    "h": 270.989,
    "s": 55.828,
    "l": 68.039
  },
  "oklch": {
    "l": 0.68128,
    "c": 0.13836,
    "h": 306.9
  },
  "luminance": 0.29667
}

Semantic roles & 50–950 ramp

primary
#AF80DB
secondary
#DBE9CD
accent
#C32270
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AF80DB

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

Preview Lab → · Contrast checker → · Palette generator →

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