#AF80CA#AF80CA

#AF80CA is a light, moderate violet. Relative luminance 0.288; OKLCH L 67.3% C 0.118 H 312.6°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#AF80CA
RGBrgb(175, 128, 202)
HSLhsl(278, 41%, 65%)
HSVhsv(278, 37%, 79%)
CMYKcmyk(13.4%, 36.6%, 0%, 20.8%)
CIE-LABlab(60.62, 31.70, -31.43)
CIE-LCHlch(60.62, 44.64, 315.24°)
OKLaboklab(67.32% 0.0795 -0.0866)
OKLCHoklch(67.32% 0.118 312.6)
XYZxyz(36.0572, 28.8172, 59.5285)
Luminance0.2882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF80CA #9BCA80
analogous
#8A80CA #AF80CA #CA80C0
triadic
#AF80CA #CAAF80 #80CAAF
tetradic
#AF80CA #CA8A80 #9BCA80 #80C0CA
square
#AF80CA #CA8A80 #9BCA80 #80C0CA
split-complementary
#AF80CA #C0CA80 #80CA8A
monochromatic
#733D92 #9455B8 #AF80CA #CAABDC #E5D6EE

Accessibility & contrast

On white

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

On black

6.76
#AF80CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF80CA
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF80CA#FFFFFF#000000##000000
##AF80CA1.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CD
Deuteranopia (green-blind)
#7E93C8
Tritanopia (blue-blind)
#AD8A9C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #af80ca;
/* rgb */ color: rgb(175, 128, 202);
/* oklch */ color: oklch(67.3% 0.118 312.6);
Tailwind
colors: {
  custom: {
    50: '#c8a5da',
    500: '#af80ca',
    950: '#000000',
  },
}
SCSS
$custom: #af80ca;
$custom-light: #c8a5da;
$custom-dark: #000000;
JSON
{
  "hex": "#af80ca",
  "rgb": {
    "r": 175,
    "g": 128,
    "b": 202
  },
  "hsl": {
    "h": 278.108,
    "s": 41.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6732,
    "c": 0.11757,
    "h": 312.6
  },
  "luminance": 0.28817
}

Semantic roles & 50–950 ramp

primary
#AF80CA
secondary
#CFE0C6
accent
#B43161
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F15
muted
#827F83

Preview Lab

Preview with #AF80CA

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

Preview Lab → · Contrast checker → · Palette generator →

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