#AF80ED#AF80ED

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

Color values

HEX#AF80ED
RGBrgb(175, 128, 237)
HSLhsl(266, 75%, 72%)
HSVhsv(266, 46%, 93%)
CMYKcmyk(26.2%, 46%, 0%, 7.1%)
CIE-LABlab(62.23, 39.63, -48.47)
CIE-LCHlch(62.23, 62.61, 309.27°)
OKLaboklab(69.05% 0.0858 -0.1358)
OKLCHoklch(69.05% 0.161 302.3)
XYZxyz(40.6810, 30.6667, 83.8804)
Luminance0.3067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF80ED #BEED80
analogous
#8088ED #AF80ED #E680ED
triadic
#AF80ED #EDAF80 #80EDAF
tetradic
#AF80ED #ED8088 #BEED80 #80EDE6
square
#AF80ED #ED8088 #BEED80 #80EDE6
split-complementary
#AF80ED #EDE680 #88ED80
monochromatic
#6D1ED4 #8D4AE5 #AF80ED #D1B6F5 #EEE4FB

Accessibility & contrast

On white

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

On black

7.13
#AF80ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF80ED
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF80ED#FFFFFF#000000##000000
##AF80ED1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F1
Deuteranopia (green-blind)
#6C96EA
Tritanopia (blue-blind)
#A493AB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af80ed;
/* rgb */ color: rgb(175, 128, 237);
/* oklch */ color: oklch(69.1% 0.161 302.3);
Tailwind
colors: {
  custom: {
    50: '#c9a6f3',
    500: '#af80ed',
    950: '#000000',
  },
}
SCSS
$custom: #af80ed;
$custom-light: #c9a6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#af80ed",
  "rgb": {
    "r": 175,
    "g": 128,
    "b": 237
  },
  "hsl": {
    "h": 265.872,
    "s": 75.172,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69054,
    "c": 0.16064,
    "h": 302.3
  },
  "luminance": 0.30667
}

Semantic roles & 50–950 ramp

primary
#AF80ED
secondary
#E6F2D6
accent
#D70E81
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AF80ED

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

Preview Lab → · Contrast checker → · Palette generator →

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