#AB76ED#AB76ED

#AB76ED is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.0% C 0.175 H 302.5°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#AB76ED
RGBrgb(171, 118, 237)
HSLhsl(267, 77%, 70%)
HSVhsv(267, 50%, 93%)
CMYKcmyk(27.8%, 50.2%, 0%, 7.1%)
CIE-LABlab(59.64, 44.08, -52.59)
CIE-LCHlch(59.64, 68.62, 309.97°)
OKLaboklab(67.04% 0.0942 -0.1479)
OKLCHoklch(67.04% 0.175 302.5)
XYZxyz(38.5557, 27.7292, 83.4254)
Luminance0.2773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76ED #B8ED76
analogous
#767DED #AB76ED #E776ED
triadic
#AB76ED #EDAB76 #76EDAB
tetradic
#AB76ED #ED767D #B8ED76 #76EDE7
square
#AB76ED #ED767D #B8ED76 #76EDE7
split-complementary
#AB76ED #EDE776 #7DED76
monochromatic
#6B1BCE #8A40E6 #AB76ED #CCACF4 #EDE2FB

Accessibility & contrast

On white

3.21
#AB76ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#AB76ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76ED
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76ED#FFFFFF#000000##000000
##AB76ED1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#508FF1
Deuteranopia (green-blind)
#5E8FEA
Tritanopia (blue-blind)
#9F8CA7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab76ed;
/* rgb */ color: rgb(171, 118, 237);
/* oklch */ color: oklch(67.0% 0.175 302.5);
Tailwind
colors: {
  custom: {
    50: '#c79ff3',
    500: '#ab76ed',
    950: '#000000',
  },
}
SCSS
$custom: #ab76ed;
$custom-light: #c79ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76ed",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 237
  },
  "hsl": {
    "h": 266.723,
    "s": 76.774,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67035,
    "c": 0.17536,
    "h": 302.5
  },
  "luminance": 0.27729
}

Semantic roles & 50–950 ramp

primary
#AB76ED
secondary
#E1F0CE
accent
#D90D7E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB76ED

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

Preview Lab → · Contrast checker → · Palette generator →

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