#AB61DC#AB61DC

#AB61DC is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.9% C 0.188 H 309.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AB61DC
RGBrgb(171, 97, 220)
HSLhsl(276, 64%, 62%)
HSVhsv(276, 56%, 86%)
CMYKcmyk(22.3%, 55.9%, 0%, 13.7%)
CIE-LABlab(54.42, 51.34, -51.38)
CIE-LCHlch(54.42, 72.63, 314.98°)
OKLaboklab(62.88% 0.1203 -0.1443)
OKLCHoklch(62.88% 0.188 309.8)
XYZxyz(33.9851, 22.3752, 70.2248)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB61DC #92DC61
analogous
#6E61DC #AB61DC #DC61CF
triadic
#AB61DC #DCAB61 #61DCAB
tetradic
#AB61DC #DC6E61 #92DC61 #61CFDC
square
#AB61DC #DC6E61 #92DC61 #61CFDC
split-complementary
#AB61DC #CFDC61 #61DC6E
monochromatic
#6E239F #902FD1 #AB61DC #C693E7 #E0C5F2

Accessibility & contrast

On white

3.84
#AB61DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#AB61DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB61DC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB61DC#FFFFFF#000000##000000
##AB61DC1.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#397FE0
Deuteranopia (green-blind)
#5483D9
Tritanopia (blue-blind)
#A57795
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab61dc;
/* rgb */ color: rgb(171, 97, 220);
/* oklch */ color: oklch(62.9% 0.188 309.8);
Tailwind
colors: {
  custom: {
    50: '#c791e7',
    500: '#ab61dc',
    950: '#000000',
  },
}
SCSS
$custom: #ab61dc;
$custom-light: #c791e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab61dc",
  "rgb": {
    "r": 171,
    "g": 97,
    "b": 220
  },
  "hsl": {
    "h": 276.098,
    "s": 63.731,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62882,
    "c": 0.18789,
    "h": 309.8
  },
  "luminance": 0.22375
}

Semantic roles & 50–950 ramp

primary
#AB61DC
secondary
#C8E3B6
accent
#CC1A61
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB61DC

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

Preview Lab → · Contrast checker → · Palette generator →

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