#AF80F9#AF80F9

#AF80F9 is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.7% C 0.175 H 299.8°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#AF80F9
RGBrgb(175, 128, 249)
HSLhsl(263, 91%, 74%)
HSVhsv(263, 49%, 98%)
CMYKcmyk(29.7%, 48.6%, 0%, 2.4%)
CIE-LABlab(62.84, 42.51, -54.12)
CIE-LCHlch(62.84, 68.82, 308.15°)
OKLaboklab(69.71% 0.0872 -0.1523)
OKLCHoklch(69.71% 0.175 299.8)
XYZxyz(42.4932, 31.3916, 93.4246)
Luminance0.3139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF80F9 #CAF980
analogous
#808EF9 #AF80F9 #EC80F9
triadic
#AF80F9 #F9AF80 #80F9AF
tetradic
#AF80F9 #F9808E #CAF980 #80F9EC
square
#AF80F9 #F9808E #CAF980 #80F9EC
split-complementary
#AF80F9 #F9EC80 #8EF980
monochromatic
#650BF3 #8A46F6 #AF80F9 #D4BAFC #EDE2FE

Accessibility & contrast

On white

2.89
#AF80F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#AF80F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF80F9
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF80F9#FFFFFF#000000##000000
##AF80F91.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FD
Deuteranopia (green-blind)
#6497F6
Tritanopia (blue-blind)
#A096B1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af80f9;
/* rgb */ color: rgb(175, 128, 249);
/* oklch */ color: oklch(69.7% 0.175 299.8);
Tailwind
colors: {
  custom: {
    50: '#caa6fc',
    500: '#af80f9',
    950: '#000000',
  },
}
SCSS
$custom: #af80f9;
$custom-light: #caa6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af80f9",
  "rgb": {
    "r": 175,
    "g": 128,
    "b": 249
  },
  "hsl": {
    "h": 263.306,
    "s": 90.977,
    "l": 73.922
  },
  "oklch": {
    "l": 0.6971,
    "c": 0.17548,
    "h": 299.8
  },
  "luminance": 0.31392
}

Semantic roles & 50–950 ramp

primary
#AF80F9
secondary
#E9F6D5
accent
#E6008C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AF80F9

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

Preview Lab → · Contrast checker → · Palette generator →

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