#AF80CB#AF80CB

#AF80CB is a light, moderate violet. Relative luminance 0.289; OKLCH L 67.4% C 0.119 H 312.2°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#AF80CB
RGBrgb(175, 128, 203)
HSLhsl(278, 42%, 65%)
HSVhsv(278, 37%, 80%)
CMYKcmyk(13.8%, 36.9%, 0%, 20.4%)
CIE-LABlab(60.66, 31.91, -31.93)
CIE-LCHlch(60.66, 45.15, 314.98°)
OKLaboklab(67.36% 0.0798 -0.088)
OKLCHoklch(67.36% 0.119 312.2)
XYZxyz(36.1760, 28.8647, 60.1540)
Luminance0.2886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF80CB #9CCB80
analogous
#8A80CB #AF80CB #CB80C1
triadic
#AF80CB #CBAF80 #80CBAF
tetradic
#AF80CB #CB8A80 #9CCB80 #80C1CB
square
#AF80CB #CB8A80 #9CCB80 #80C1CB
split-complementary
#AF80CB #C1CB80 #80CB8A
monochromatic
#733D94 #9455B9 #AF80CB #CAABDD #E6D7EF

Accessibility & contrast

On white

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

On black

6.77
#AF80CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF80CB
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF80CB#FFFFFF#000000##000000
##AF80CB1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CE
Deuteranopia (green-blind)
#7E93C9
Tritanopia (blue-blind)
#AC8A9C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #af80cb;
/* rgb */ color: rgb(175, 128, 203);
/* oklch */ color: oklch(67.4% 0.119 312.2);
Tailwind
colors: {
  custom: {
    50: '#c8a5db',
    500: '#af80cb',
    950: '#000000',
  },
}
SCSS
$custom: #af80cb;
$custom-light: #c8a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#af80cb",
  "rgb": {
    "r": 175,
    "g": 128,
    "b": 203
  },
  "hsl": {
    "h": 277.6,
    "s": 41.899,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67365,
    "c": 0.11877,
    "h": 312.2
  },
  "luminance": 0.28864
}

Semantic roles & 50–950 ramp

primary
#AF80CB
secondary
#D0E0C7
accent
#B53162
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AF80CB

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

Preview Lab → · Contrast checker → · Palette generator →

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