#AB63D9#AB63D9

#AB63D9 is a light, vivid violet. Relative luminance 0.226; OKLCH L 63.0% C 0.182 H 310.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AB63D9
RGBrgb(171, 99, 217)
HSLhsl(277, 61%, 62%)
HSVhsv(277, 54%, 85%)
CMYKcmyk(21.2%, 54.4%, 0%, 14.9%)
CIE-LABlab(54.65, 49.64, -49.32)
CIE-LCHlch(54.65, 69.98, 315.18°)
OKLaboklab(63% 0.1176 -0.1383)
OKLCHoklch(63% 0.182 310.4)
XYZxyz(33.7785, 22.5920, 68.2135)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB63D9 #91D963
analogous
#7063D9 #AB63D9 #D963CC
triadic
#AB63D9 #D9AB63 #63D9AB
tetradic
#AB63D9 #D97063 #91D963 #63CCD9
square
#AB63D9 #D97063 #91D963 #63CCD9
split-complementary
#AB63D9 #CCD963 #63D970
monochromatic
#6E269C #9032CD #AB63D9 #C594E5 #E0C5F1

Accessibility & contrast

On white

3.81
#AB63D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#AB63D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB63D9
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB63D9#FFFFFF#000000##000000
##AB63D91.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#407FDD
Deuteranopia (green-blind)
#5984D6
Tritanopia (blue-blind)
#A57895
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab63d9;
/* rgb */ color: rgb(171, 99, 217);
/* oklch */ color: oklch(63.0% 0.182 310.4);
Tailwind
colors: {
  custom: {
    50: '#c792e5',
    500: '#ab63d9',
    950: '#000000',
  },
}
SCSS
$custom: #ab63d9;
$custom-light: #c792e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab63d9",
  "rgb": {
    "r": 171,
    "g": 99,
    "b": 217
  },
  "hsl": {
    "h": 276.61,
    "s": 60.825,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62995,
    "c": 0.18155,
    "h": 310.4
  },
  "luminance": 0.22591
}

Semantic roles & 50–950 ramp

primary
#AB63D9
secondary
#C7E2B6
accent
#C91D60
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB63D9

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

Preview Lab → · Contrast checker → · Palette generator →

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