#AB76EC#AB76EC

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

Color values

HEX#AB76EC
RGBrgb(171, 118, 236)
HSLhsl(267, 76%, 69%)
HSVhsv(267, 50%, 93%)
CMYKcmyk(27.5%, 50%, 0%, 7.5%)
CIE-LABlab(59.59, 43.84, -52.12)
CIE-LCHlch(59.59, 68.11, 310.07°)
OKLaboklab(66.98% 0.0941 -0.1465)
OKLCHoklch(66.98% 0.174 302.7)
XYZxyz(38.4100, 27.6709, 82.6581)
Luminance0.2767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76EC #B7EC76
analogous
#767CEC #AB76EC #E676EC
triadic
#AB76EC #ECAB76 #76ECAB
tetradic
#AB76EC #EC767C #B7EC76 #76ECE6
square
#AB76EC #EC767C #B7EC76 #76ECE6
split-complementary
#AB76EC #ECE676 #7CEC76
monochromatic
#6B1CCB #8A40E5 #AB76EC #CCACF3 #EDE1FB

Accessibility & contrast

On white

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

On black

6.53
#AB76EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76EC
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76EC#FFFFFF#000000##000000
##AB76EC1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#508EF0
Deuteranopia (green-blind)
#5F8FE9
Tritanopia (blue-blind)
#9F8CA6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab76ec;
/* rgb */ color: rgb(171, 118, 236);
/* oklch */ color: oklch(67.0% 0.174 302.7);
Tailwind
colors: {
  custom: {
    50: '#c79ff3',
    500: '#ab76ec',
    950: '#000000',
  },
}
SCSS
$custom: #ab76ec;
$custom-light: #c79ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76ec",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 266.949,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66979,
    "c": 0.17415,
    "h": 302.7
  },
  "luminance": 0.27671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB76EC

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

Preview Lab → · Contrast checker → · Palette generator →

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