#AF80FA#AF80FA

#AF80FA is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.8% C 0.177 H 299.6°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#AF80FA
RGBrgb(175, 128, 250)
HSLhsl(263, 92%, 74%)
HSVhsv(263, 49%, 98%)
CMYKcmyk(30%, 48.8%, 0%, 2%)
CIE-LABlab(62.89, 42.75, -54.59)
CIE-LCHlch(62.89, 69.34, 308.07°)
OKLaboklab(69.77% 0.0873 -0.1536)
OKLCHoklch(69.77% 0.177 299.6)
XYZxyz(42.6496, 31.4541, 94.2483)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF80FA #CBFA80
analogous
#808EFA #AF80FA #EC80FA
triadic
#AF80FA #FAAF80 #80FAAF
tetradic
#AF80FA #FA808E #CBFA80 #80FAEC
square
#AF80FA #FA808E #CBFA80 #80FAEC
split-complementary
#AF80FA #FAEC80 #8EFA80
monochromatic
#650AF5 #8A45F8 #AF80FA #D4BBFC #ECE2FE

Accessibility & contrast

On white

2.88
#AF80FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#AF80FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF80FA
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF80FA#FFFFFF#000000##000000
##AF80FA1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FE
Deuteranopia (green-blind)
#6397F7
Tritanopia (blue-blind)
#A097B1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af80fa;
/* rgb */ color: rgb(175, 128, 250);
/* oklch */ color: oklch(69.8% 0.177 299.6);
Tailwind
colors: {
  custom: {
    50: '#caa6fc',
    500: '#af80fa',
    950: '#000000',
  },
}
SCSS
$custom: #af80fa;
$custom-light: #caa6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af80fa",
  "rgb": {
    "r": 175,
    "g": 128,
    "b": 250
  },
  "hsl": {
    "h": 263.115,
    "s": 92.424,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69766,
    "c": 0.17671,
    "h": 299.6
  },
  "luminance": 0.31454
}

Semantic roles & 50–950 ramp

primary
#AF80FA
secondary
#E9F6D5
accent
#E6008D
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #AF80FA

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

Preview Lab → · Contrast checker → · Palette generator →

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