#AB76FB#AB76FB

#AB76FB is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.8% C 0.192 H 299.7°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#AB76FB
RGBrgb(171, 118, 251)
HSLhsl(264, 94%, 72%)
HSVhsv(264, 53%, 98%)
CMYKcmyk(31.9%, 53%, 0%, 1.6%)
CIE-LABlab(60.41, 47.46, -59.12)
CIE-LCHlch(60.41, 75.81, 308.76°)
OKLaboklab(67.85% 0.0951 -0.167)
OKLCHoklch(67.85% 0.192 299.7)
XYZxyz(40.6814, 28.5795, 94.6212)
Luminance0.2858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76FB #C6FB76
analogous
#7683FB #AB76FB #EE76FB
triadic
#AB76FB #FBAB76 #76FBAB
tetradic
#AB76FB #FB7683 #C6FB76 #76FBEE
square
#AB76FB #FB7683 #C6FB76 #76FBEE
split-complementary
#AB76FB #FBEE76 #83FB76
monochromatic
#6407F0 #873BF9 #AB76FB #CFB1FD #EDE1FE

Accessibility & contrast

On white

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

On black

6.72
#AB76FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76FB
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76FB#FFFFFF#000000##000000
##AB76FB1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4291FF
Deuteranopia (green-blind)
#5391F8
Tritanopia (blue-blind)
#9A90AD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab76fb;
/* rgb */ color: rgb(171, 118, 251);
/* oklch */ color: oklch(67.8% 0.192 299.7);
Tailwind
colors: {
  custom: {
    50: '#c89ffd',
    500: '#ab76fb',
    950: '#000000',
  },
}
SCSS
$custom: #ab76fb;
$custom-light: #c89ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76fb",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 251
  },
  "hsl": {
    "h": 263.91,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.6785,
    "c": 0.1922,
    "h": 299.7
  },
  "luminance": 0.2858
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB76FB

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

Preview Lab → · Contrast checker → · Palette generator →

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