#AF80EA#AF80EA

#AF80EA is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.9% C 0.157 H 303.0°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#AF80EA
RGBrgb(175, 128, 234)
HSLhsl(267, 72%, 71%)
HSVhsv(267, 45%, 92%)
CMYKcmyk(25.2%, 45.3%, 0%, 8.2%)
CIE-LABlab(62.08, 38.92, -47.04)
CIE-LCHlch(62.08, 61.06, 309.60°)
OKLaboklab(68.9% 0.0854 -0.1316)
OKLCHoklch(68.9% 0.157 303)
XYZxyz(40.2464, 30.4929, 81.5914)
Luminance0.3049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF80EA #BBEA80
analogous
#8086EA #AF80EA #E480EA
triadic
#AF80EA #EAAF80 #80EAAF
tetradic
#AF80EA #EA8086 #BBEA80 #80EAE4
square
#AF80EA #EA8086 #BBEA80 #80EAE4
split-complementary
#AF80EA #EAE480 #86EA80
monochromatic
#6E22CE #8E4BE1 #AF80EA #D0B5F3 #EEE5FB

Accessibility & contrast

On white

2.96
#AF80EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#AF80EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF80EA
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF80EA#FFFFFF#000000##000000
##AF80EA1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6395EE
Deuteranopia (green-blind)
#6E96E7
Tritanopia (blue-blind)
#A592AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af80ea;
/* rgb */ color: rgb(175, 128, 234);
/* oklch */ color: oklch(68.9% 0.157 303.0);
Tailwind
colors: {
  custom: {
    50: '#c9a6f1',
    500: '#af80ea',
    950: '#000000',
  },
}
SCSS
$custom: #af80ea;
$custom-light: #c9a6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af80ea",
  "rgb": {
    "r": 175,
    "g": 128,
    "b": 234
  },
  "hsl": {
    "h": 266.604,
    "s": 71.622,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68895,
    "c": 0.15693,
    "h": 303
  },
  "luminance": 0.30493
}

Semantic roles & 50–950 ramp

primary
#AF80EA
secondary
#E4F1D5
accent
#D4127E
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AF80EA

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

Preview Lab → · Contrast checker → · Palette generator →

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