#AB76FC#AB76FC

#AB76FC is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.9% C 0.193 H 299.5°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#AB76FC
RGBrgb(171, 118, 252)
HSLhsl(264, 96%, 73%)
HSVhsv(264, 53%, 99%)
CMYKcmyk(32.1%, 53.2%, 0%, 1.2%)
CIE-LABlab(60.47, 47.71, -59.58)
CIE-LCHlch(60.47, 76.33, 308.69°)
OKLaboklab(67.91% 0.0952 -0.1683)
OKLCHoklch(67.91% 0.193 299.5)
XYZxyz(40.8395, 28.6427, 95.4536)
Luminance0.2864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76FC #C7FC76
analogous
#7684FC #AB76FC #EE76FC
triadic
#AB76FC #FCAB76 #76FCAB
tetradic
#AB76FC #FC7684 #C7FC76 #76FCEE
square
#AB76FC #FC7684 #C7FC76 #76FCEE
split-complementary
#AB76FC #FCEE76 #84FC76
monochromatic
#6305F2 #863AFB #AB76FC #D0B2FD #EDE1FE

Accessibility & contrast

On white

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

On black

6.73
#AB76FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76FC
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76FC#FFFFFF#000000##000000
##AB76FC1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4192FF
Deuteranopia (green-blind)
#5291F9
Tritanopia (blue-blind)
#9A90AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab76fc;
/* rgb */ color: rgb(171, 118, 252);
/* oklch */ color: oklch(67.9% 0.193 299.5);
Tailwind
colors: {
  custom: {
    50: '#c89ffe',
    500: '#ab76fc',
    950: '#000000',
  },
}
SCSS
$custom: #ab76fc;
$custom-light: #c89ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76fc",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 252
  },
  "hsl": {
    "h": 263.731,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.6791,
    "c": 0.19339,
    "h": 299.5
  },
  "luminance": 0.28643
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB76FC

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

Preview Lab → · Contrast checker → · Palette generator →

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