#AB76F5#AB76F5

#AB76F5 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.5% C 0.185 H 300.8°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AB76F5
RGBrgb(171, 118, 245)
HSLhsl(265, 86%, 71%)
HSVhsv(265, 52%, 96%)
CMYKcmyk(30.2%, 51.8%, 0%, 3.9%)
CIE-LABlab(60.08, 46.00, -56.34)
CIE-LCHlch(60.08, 72.73, 309.23°)
OKLaboklab(67.5% 0.0948 -0.1589)
OKLCHoklch(67.5% 0.185 300.8)
XYZxyz(39.7506, 28.2072, 89.7188)
Luminance0.2821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76F5 #C0F576
analogous
#7680F5 #AB76F5 #EA76F5
triadic
#AB76F5 #F5AB76 #76F5AB
tetradic
#AB76F5 #F57680 #C0F576 #76F5EA
square
#AB76F5 #F57680 #C0F576 #76F5EA
split-complementary
#AB76F5 #F5EA76 #80F576
monochromatic
#6710E0 #883DF1 #AB76F5 #CEAFF9 #EEE2FD

Accessibility & contrast

On white

3.16
#AB76F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#AB76F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76F5
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76F5#FFFFFF#000000##000000
##AB76F51.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4890F9
Deuteranopia (green-blind)
#5890F2
Tritanopia (blue-blind)
#9C8EAB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab76f5;
/* rgb */ color: rgb(171, 118, 245);
/* oklch */ color: oklch(67.5% 0.185 300.8);
Tailwind
colors: {
  custom: {
    50: '#c79ff9',
    500: '#ab76f5',
    950: '#000000',
  },
}
SCSS
$custom: #ab76f5;
$custom-light: #c79ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76f5",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 245
  },
  "hsl": {
    "h": 265.039,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67496,
    "c": 0.185,
    "h": 300.8
  },
  "luminance": 0.28207
}

Semantic roles & 50–950 ramp

primary
#AB76F5
secondary
#E6F4D3
accent
#E30385
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #AB76F5

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

Preview Lab → · Contrast checker → · Palette generator →

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