#AF80EE#AF80EE

#AF80EE is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.1% C 0.162 H 302.1°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#AF80EE
RGBrgb(175, 128, 238)
HSLhsl(266, 76%, 72%)
HSVhsv(266, 46%, 93%)
CMYKcmyk(26.5%, 46.2%, 0%, 6.7%)
CIE-LABlab(62.28, 39.87, -48.95)
CIE-LCHlch(62.28, 63.13, 309.16°)
OKLaboklab(69.11% 0.0859 -0.1372)
OKLCHoklch(69.11% 0.162 302.1)
XYZxyz(40.8275, 30.7253, 84.6520)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF80EE #BFEE80
analogous
#8088EE #AF80EE #E680EE
triadic
#AF80EE #EEAF80 #80EEAF
tetradic
#AF80EE #EE8088 #BFEE80 #80EEE6
square
#AF80EE #EE8088 #BFEE80 #80EEE6
split-complementary
#AF80EE #EEE680 #88EE80
monochromatic
#6C1DD7 #8D4AE7 #AF80EE #D1B6F5 #EEE4FB

Accessibility & contrast

On white

2.94
#AF80EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#AF80EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF80EE
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF80EE#FFFFFF#000000##000000
##AF80EE1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F2
Deuteranopia (green-blind)
#6B96EB
Tritanopia (blue-blind)
#A493AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af80ee;
/* rgb */ color: rgb(175, 128, 238);
/* oklch */ color: oklch(69.1% 0.162 302.1);
Tailwind
colors: {
  custom: {
    50: '#c9a6f4',
    500: '#af80ee',
    950: '#000000',
  },
}
SCSS
$custom: #af80ee;
$custom-light: #c9a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af80ee",
  "rgb": {
    "r": 175,
    "g": 128,
    "b": 238
  },
  "hsl": {
    "h": 265.636,
    "s": 76.389,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69108,
    "c": 0.16188,
    "h": 302.1
  },
  "luminance": 0.30725
}

Semantic roles & 50–950 ramp

primary
#AF80EE
secondary
#E7F3D7
accent
#D90D82
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AF80EE

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

Preview Lab → · Contrast checker → · Palette generator →

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