#AB76DF#AB76DF

#AB76DF is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.3% C 0.158 H 305.8°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AB76DF
RGBrgb(171, 118, 223)
HSLhsl(270, 62%, 67%)
HSVhsv(270, 47%, 87%)
CMYKcmyk(23.3%, 47.1%, 0%, 12.5%)
CIE-LABlab(58.92, 40.79, -45.93)
CIE-LCHlch(58.92, 61.43, 311.61°)
OKLaboklab(66.26% 0.0927 -0.1285)
OKLCHoklch(66.26% 0.158 305.8)
XYZxyz(36.5896, 26.9428, 73.0706)
Luminance0.2694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76DF #AADF76
analogous
#7776DF #AB76DF #DF76DE
triadic
#AB76DF #DFAB76 #76DFAB
tetradic
#AB76DF #DF7776 #AADF76 #76DEDF
square
#AB76DF #DF7776 #AADF76 #76DEDF
split-complementary
#AB76DF #DEDF76 #76DF77
monochromatic
#6E29B1 #8D44D3 #AB76DF #C9A8EB #E8D9F6

Accessibility & contrast

On white

3.29
#AB76DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#AB76DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76DF
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76DF#FFFFFF#000000##000000
##AB76DF1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8CE3
Deuteranopia (green-blind)
#688EDC
Tritanopia (blue-blind)
#A388A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab76df;
/* rgb */ color: rgb(171, 118, 223);
/* oklch */ color: oklch(66.3% 0.158 305.8);
Tailwind
colors: {
  custom: {
    50: '#c69fe9',
    500: '#ab76df',
    950: '#000000',
  },
}
SCSS
$custom: #ab76df;
$custom-light: #c69fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76df",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 223
  },
  "hsl": {
    "h": 270.286,
    "s": 62.13,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66263,
    "c": 0.15844,
    "h": 305.8
  },
  "luminance": 0.26943
}

Semantic roles & 50–950 ramp

primary
#AB76DF
secondary
#D8E9C8
accent
#CA1C72
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB76DF

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

Preview Lab → · Contrast checker → · Palette generator →

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