#AB76F8#AB76F8

#AB76F8 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.7% C 0.189 H 300.2°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AB76F8
RGBrgb(171, 118, 248)
HSLhsl(264, 90%, 72%)
HSVhsv(264, 52%, 97%)
CMYKcmyk(31%, 52.4%, 0%, 2.7%)
CIE-LABlab(60.24, 46.73, -57.73)
CIE-LCHlch(60.24, 74.27, 308.99°)
OKLaboklab(67.67% 0.095 -0.1629)
OKLCHoklch(67.67% 0.189 300.2)
XYZxyz(40.2123, 28.3919, 92.1504)
Luminance0.2839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76F8 #C3F876
analogous
#7682F8 #AB76F8 #EC76F8
triadic
#AB76F8 #F8AB76 #76F8AB
tetradic
#AB76F8 #F87682 #C3F876 #76F8EC
square
#AB76F8 #F87682 #C3F876 #76F8EC
split-complementary
#AB76F8 #F8EC76 #82F876
monochromatic
#660CE8 #873CF5 #AB76F8 #CFB0FB #EDE2FE

Accessibility & contrast

On white

3.14
#AB76F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#AB76F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76F8
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76F8#FFFFFF#000000##000000
##AB76F81.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4691FC
Deuteranopia (green-blind)
#5590F5
Tritanopia (blue-blind)
#9B8FAC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab76f8;
/* rgb */ color: rgb(171, 118, 248);
/* oklch */ color: oklch(67.7% 0.189 300.2);
Tailwind
colors: {
  custom: {
    50: '#c79ffb',
    500: '#ab76f8',
    950: '#000000',
  },
}
SCSS
$custom: #ab76f8;
$custom-light: #c79ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76f8",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 248
  },
  "hsl": {
    "h": 264.462,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67672,
    "c": 0.1886,
    "h": 300.2
  },
  "luminance": 0.28392
}

Semantic roles & 50–950 ramp

primary
#AB76F8
secondary
#E8F5D4
accent
#E60088
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #AB76F8

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

Preview Lab → · Contrast checker → · Palette generator →

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