#AB63DC#AB63DC

#AB63DC is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.2% C 0.185 H 309.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AB63DC
RGBrgb(171, 99, 220)
HSLhsl(276, 63%, 63%)
HSVhsv(276, 55%, 86%)
CMYKcmyk(22.3%, 55%, 0%, 13.7%)
CIE-LABlab(54.81, 50.30, -50.76)
CIE-LCHlch(54.81, 71.46, 314.74°)
OKLaboklab(63.17% 0.1178 -0.1425)
OKLCHoklch(63.17% 0.185 309.6)
XYZxyz(34.1722, 22.7495, 70.2872)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB63DC #94DC63
analogous
#6E63DC #AB63DC #DC63D1
triadic
#AB63DC #DCAB63 #63DCAB
tetradic
#AB63DC #DC6E63 #94DC63 #63D1DC
square
#AB63DC #DC6E63 #94DC63 #63D1DC
split-complementary
#AB63DC #D1DC63 #63DC6E
monochromatic
#6E24A1 #9031D1 #AB63DC #C695E7 #E1C7F2

Accessibility & contrast

On white

3.78
#AB63DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#AB63DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB63DC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB63DC#FFFFFF#000000##000000
##AB63DC1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D80E0
Deuteranopia (green-blind)
#5684D9
Tritanopia (blue-blind)
#A57996
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab63dc;
/* rgb */ color: rgb(171, 99, 220);
/* oklch */ color: oklch(63.2% 0.185 309.6);
Tailwind
colors: {
  custom: {
    50: '#c792e7',
    500: '#ab63dc',
    950: '#000000',
  },
}
SCSS
$custom: #ab63dc;
$custom-light: #c792e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab63dc",
  "rgb": {
    "r": 171,
    "g": 99,
    "b": 220
  },
  "hsl": {
    "h": 275.702,
    "s": 63.351,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63169,
    "c": 0.18486,
    "h": 309.6
  },
  "luminance": 0.22749
}

Semantic roles & 50–950 ramp

primary
#AB63DC
secondary
#C9E3B7
accent
#CB1A62
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB63DC

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

Preview Lab → · Contrast checker → · Palette generator →

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