#AF80CD#AF80CD

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

Color values

HEX#AF80CD
RGBrgb(175, 128, 205)
HSLhsl(277, 44%, 65%)
HSVhsv(277, 38%, 80%)
CMYKcmyk(14.6%, 37.6%, 0%, 19.6%)
CIE-LABlab(60.75, 32.35, -32.93)
CIE-LCHlch(60.75, 46.16, 314.49°)
OKLaboklab(67.46% 0.0802 -0.0909)
OKLCHoklch(67.46% 0.121 311.4)
XYZxyz(36.4159, 28.9606, 61.4174)
Luminance0.2896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF80CD #9ECD80
analogous
#8880CD #AF80CD #CD80C5
triadic
#AF80CD #CDAF80 #80CDAF
tetradic
#AF80CD #CD8880 #9ECD80 #80C5CD
square
#AF80CD #CD8880 #9ECD80 #80C5CD
split-complementary
#AF80CD #C5CD80 #80CD88
monochromatic
#733B97 #9354BC #AF80CD #CBACDE #E6D8F0

Accessibility & contrast

On white

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

On black

6.79
#AF80CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF80CD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF80CD#FFFFFF#000000##000000
##AF80CD1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7290D0
Deuteranopia (green-blind)
#7D94CB
Tritanopia (blue-blind)
#AC8B9D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #af80cd;
/* rgb */ color: rgb(175, 128, 205);
/* oklch */ color: oklch(67.5% 0.121 311.4);
Tailwind
colors: {
  custom: {
    50: '#c8a5dc',
    500: '#af80cd',
    950: '#000000',
  },
}
SCSS
$custom: #af80cd;
$custom-light: #c8a5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af80cd",
  "rgb": {
    "r": 175,
    "g": 128,
    "b": 205
  },
  "hsl": {
    "h": 276.623,
    "s": 43.503,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67457,
    "c": 0.1212,
    "h": 311.4
  },
  "luminance": 0.2896
}

Semantic roles & 50–950 ramp

primary
#AF80CD
secondary
#D2E1C7
accent
#B72F64
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AF80CD

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

Preview Lab → · Contrast checker → · Palette generator →

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