#AF80EB#AF80EB

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

Color values

HEX#AF80EB
RGBrgb(175, 128, 235)
HSLhsl(266, 73%, 71%)
HSVhsv(266, 46%, 92%)
CMYKcmyk(25.5%, 45.5%, 0%, 7.8%)
CIE-LABlab(62.13, 39.16, -47.52)
CIE-LCHlch(62.13, 61.58, 309.49°)
OKLaboklab(68.95% 0.0856 -0.133)
OKLCHoklch(68.95% 0.158 302.7)
XYZxyz(40.3905, 30.5505, 82.3501)
Luminance0.3055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF80EB #BCEB80
analogous
#8086EB #AF80EB #E480EB
triadic
#AF80EB #EBAF80 #80EBAF
tetradic
#AF80EB #EB8086 #BCEB80 #80EBE4
square
#AF80EB #EB8086 #BCEB80 #80EBE4
split-complementary
#AF80EB #EBE480 #86EB80
monochromatic
#6E21D0 #8E4BE3 #AF80EB #D0B5F3 #EEE5FB

Accessibility & contrast

On white

2.95
#AF80EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#AF80EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF80EB
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF80EB#FFFFFF#000000##000000
##AF80EB1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EF
Deuteranopia (green-blind)
#6D96E8
Tritanopia (blue-blind)
#A493AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af80eb;
/* rgb */ color: rgb(175, 128, 235);
/* oklch */ color: oklch(68.9% 0.158 302.7);
Tailwind
colors: {
  custom: {
    50: '#c9a6f2',
    500: '#af80eb',
    950: '#000000',
  },
}
SCSS
$custom: #af80eb;
$custom-light: #c9a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#af80eb",
  "rgb": {
    "r": 175,
    "g": 128,
    "b": 235
  },
  "hsl": {
    "h": 266.355,
    "s": 72.789,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68948,
    "c": 0.15816,
    "h": 302.7
  },
  "luminance": 0.3055
}

Semantic roles & 50–950 ramp

primary
#AF80EB
secondary
#E5F1D5
accent
#D5117F
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AF80EB

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

Preview Lab → · Contrast checker → · Palette generator →

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