#AF80E7#AF80E7

#AF80E7 is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.7% C 0.153 H 303.7°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#AF80E7
RGBrgb(175, 128, 231)
HSLhsl(267, 68%, 70%)
HSVhsv(267, 45%, 91%)
CMYKcmyk(24.2%, 44.6%, 0%, 9.4%)
CIE-LABlab(61.93, 38.22, -45.61)
CIE-LCHlch(61.93, 59.51, 309.96°)
OKLaboklab(68.74% 0.085 -0.1275)
OKLCHoklch(68.74% 0.153 303.7)
XYZxyz(39.8191, 30.3219, 79.3408)
Luminance0.3032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF80E7 #B8E780
analogous
#8084E7 #AF80E7 #E380E7
triadic
#AF80E7 #E7AF80 #80E7AF
tetradic
#AF80E7 #E78084 #B8E780 #80E7E3
square
#AF80E7 #E78084 #B8E780 #80E7E3
split-complementary
#AF80E7 #E7E380 #84E780
monochromatic
#6F26C7 #8F4DDD #AF80E7 #CFB3F1 #EFE5FA

Accessibility & contrast

On white

2.97
#AF80E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#AF80E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF80E7
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF80E7#FFFFFF#000000##000000
##AF80E71.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6594EB
Deuteranopia (green-blind)
#7096E4
Tritanopia (blue-blind)
#A691A8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af80e7;
/* rgb */ color: rgb(175, 128, 231);
/* oklch */ color: oklch(68.7% 0.153 303.7);
Tailwind
colors: {
  custom: {
    50: '#c9a5ef',
    500: '#af80e7',
    950: '#000000',
  },
}
SCSS
$custom: #af80e7;
$custom-light: #c9a5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#af80e7",
  "rgb": {
    "r": 175,
    "g": 128,
    "b": 231
  },
  "hsl": {
    "h": 267.379,
    "s": 68.212,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68738,
    "c": 0.15321,
    "h": 303.7
  },
  "luminance": 0.30322
}

Semantic roles & 50–950 ramp

primary
#AF80E7
secondary
#E3F0D3
accent
#D0157B
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AF80E7

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

Preview Lab → · Contrast checker → · Palette generator →

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