#AF80E5#AF80E5

#AF80E5 is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.6% C 0.151 H 304.2°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#AF80E5
RGBrgb(175, 128, 229)
HSLhsl(268, 66%, 70%)
HSVhsv(268, 44%, 90%)
CMYKcmyk(23.6%, 44.1%, 0%, 10.2%)
CIE-LABlab(61.83, 37.75, -44.65)
CIE-LCHlch(61.83, 58.47, 310.21°)
OKLaboklab(68.63% 0.0847 -0.1247)
OKLCHoklch(68.63% 0.151 304.2)
XYZxyz(39.5382, 30.2096, 77.8616)
Luminance0.3021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF80E5 #B6E580
analogous
#8083E5 #AF80E5 #E280E5
triadic
#AF80E5 #E5AF80 #80E5AF
tetradic
#AF80E5 #E58083 #B6E580 #80E5E2
square
#AF80E5 #E58083 #B6E580 #80E5E2
split-complementary
#AF80E5 #E5E280 #83E580
monochromatic
#7028C3 #8F4DDB #AF80E5 #CFB3EF #EFE6FA

Accessibility & contrast

On white

2.98
#AF80E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#AF80E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF80E5
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF80E5#FFFFFF#000000##000000
##AF80E51.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6694E9
Deuteranopia (green-blind)
#7195E2
Tritanopia (blue-blind)
#A691A8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af80e5;
/* rgb */ color: rgb(175, 128, 229);
/* oklch */ color: oklch(68.6% 0.151 304.2);
Tailwind
colors: {
  custom: {
    50: '#c9a5ed',
    500: '#af80e5',
    950: '#000000',
  },
}
SCSS
$custom: #af80e5;
$custom-light: #c9a5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#af80e5",
  "rgb": {
    "r": 175,
    "g": 128,
    "b": 229
  },
  "hsl": {
    "h": 267.921,
    "s": 66.013,
    "l": 70
  },
  "oklch": {
    "l": 0.68634,
    "c": 0.15073,
    "h": 304.2
  },
  "luminance": 0.30209
}

Semantic roles & 50–950 ramp

primary
#AF80E5
secondary
#E1EFD2
accent
#CE1879
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AF80E5

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

Preview Lab → · Contrast checker → · Palette generator →

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