#AB76FD#AB76FD

#AB76FD is a light, vivid violet. Relative luminance 0.287; OKLCH L 68.0% C 0.195 H 299.3°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#AB76FD
RGBrgb(171, 118, 253)
HSLhsl(264, 97%, 73%)
HSVhsv(264, 53%, 99%)
CMYKcmyk(32.4%, 53.4%, 0%, 0.8%)
CIE-LABlab(60.52, 47.95, -60.04)
CIE-LCHlch(60.52, 76.84, 308.61°)
OKLaboklab(67.97% 0.0952 -0.1697)
OKLCHoklch(67.97% 0.195 299.3)
XYZxyz(40.9984, 28.7063, 96.2904)
Luminance0.2871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76FD #C8FD76
analogous
#7684FD #AB76FD #EF76FD
triadic
#AB76FD #FDAB76 #76FDAB
tetradic
#AB76FD #FD7684 #C8FD76 #76FDEF
square
#AB76FD #FD7684 #C8FD76 #76FDEF
split-complementary
#AB76FD #FDEF76 #84FD76
monochromatic
#6204F5 #863AFC #AB76FD #D0B2FE #EDE1FF

Accessibility & contrast

On white

3.12
#AB76FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#AB76FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76FD
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76FD#FFFFFF#000000##000000
##AB76FD1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4092FF
Deuteranopia (green-blind)
#5191FA
Tritanopia (blue-blind)
#9A91AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab76fd;
/* rgb */ color: rgb(171, 118, 253);
/* oklch */ color: oklch(68.0% 0.195 299.3);
Tailwind
colors: {
  custom: {
    50: '#c89fff',
    500: '#ab76fd',
    950: '#000000',
  },
}
SCSS
$custom: #ab76fd;
$custom-light: #c89fff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76fd",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 253
  },
  "hsl": {
    "h": 263.556,
    "s": 97.122,
    "l": 72.745
  },
  "oklch": {
    "l": 0.6797,
    "c": 0.19459,
    "h": 299.3
  },
  "luminance": 0.28707
}

Semantic roles & 50–950 ramp

primary
#AB76FD
secondary
#E9F7D4
accent
#E6008B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #AB76FD

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

Preview Lab → · Contrast checker → · Palette generator →

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