#AB80F8#AB80F8

#AB80F8 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.3% C 0.174 H 298.3°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#AB80F8
RGBrgb(171, 128, 248)
HSLhsl(262, 90%, 74%)
HSVhsv(262, 48%, 97%)
CMYKcmyk(31%, 48.4%, 0%, 2.7%)
CIE-LABlab(62.40, 41.24, -54.29)
CIE-LCHlch(62.40, 68.18, 307.22°)
OKLaboklab(69.28% 0.0823 -0.1529)
OKLCHoklch(69.28% 0.174 298.3)
XYZxyz(41.4529, 30.8732, 92.5639)
Luminance0.3087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB80F8 #CDF880
analogous
#8091F8 #AB80F8 #E780F8
triadic
#AB80F8 #F8AB80 #80F8AB
tetradic
#AB80F8 #F88091 #CDF880 #80F8E7
square
#AB80F8 #F88091 #CDF880 #80F8E7
split-complementary
#AB80F8 #F8E780 #91F880
monochromatic
#5F0DF0 #8546F5 #AB80F8 #D1BAFB #ECE2FD

Accessibility & contrast

On white

2.93
#AB80F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#AB80F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB80F8
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB80F8#FFFFFF#000000##000000
##AB80F81.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FC
Deuteranopia (green-blind)
#6296F5
Tritanopia (blue-blind)
#9B97B0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ab80f8;
/* rgb */ color: rgb(171, 128, 248);
/* oklch */ color: oklch(69.3% 0.174 298.3);
Tailwind
colors: {
  custom: {
    50: '#c7a6fb',
    500: '#ab80f8',
    950: '#000000',
  },
}
SCSS
$custom: #ab80f8;
$custom-light: #c7a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab80f8",
  "rgb": {
    "r": 171,
    "g": 128,
    "b": 248
  },
  "hsl": {
    "h": 261.5,
    "s": 89.552,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69278,
    "c": 0.17361,
    "h": 298.3
  },
  "luminance": 0.30874
}

Semantic roles & 50–950 ramp

primary
#AB80F8
secondary
#EAF5D6
accent
#E60093
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB80F8

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

Preview Lab → · Contrast checker → · Palette generator →

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