#AB76FA#AB76FA

#AB76FA is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.8% C 0.191 H 299.9°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#AB76FA
RGBrgb(171, 118, 250)
HSLhsl(264, 93%, 72%)
HSVhsv(264, 53%, 98%)
CMYKcmyk(31.6%, 52.8%, 0%, 2%)
CIE-LABlab(60.35, 47.22, -58.66)
CIE-LCHlch(60.35, 75.30, 308.83°)
OKLaboklab(67.79% 0.0951 -0.1656)
OKLCHoklch(67.79% 0.191 299.9)
XYZxyz(40.5242, 28.5166, 93.7932)
Luminance0.2852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76FA #C5FA76
analogous
#7683FA #AB76FA #ED76FA
triadic
#AB76FA #FAAB76 #76FAAB
tetradic
#AB76FA #FA7683 #C5FA76 #76FAED
square
#AB76FA #FA7683 #C5FA76 #76FAED
split-complementary
#AB76FA #FAED76 #83FA76
monochromatic
#6409ED #873BF8 #AB76FA #CFB1FC #EDE1FE

Accessibility & contrast

On white

3.13
#AB76FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#AB76FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76FA
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76FA#FFFFFF#000000##000000
##AB76FA1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4391FE
Deuteranopia (green-blind)
#5491F7
Tritanopia (blue-blind)
#9B90AD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab76fa;
/* rgb */ color: rgb(171, 118, 250);
/* oklch */ color: oklch(67.8% 0.191 299.9);
Tailwind
colors: {
  custom: {
    50: '#c89ffd',
    500: '#ab76fa',
    950: '#000000',
  },
}
SCSS
$custom: #ab76fa;
$custom-light: #c89ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76fa",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 250
  },
  "hsl": {
    "h": 264.091,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67791,
    "c": 0.191,
    "h": 299.9
  },
  "luminance": 0.28517
}

Semantic roles & 50–950 ramp

primary
#AB76FA
secondary
#E9F6D5
accent
#E60089
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #AB76FA

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

Preview Lab → · Contrast checker → · Palette generator →

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