#AB63D7#AB63D7

#AB63D7 is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.9% C 0.179 H 310.9°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AB63D7
RGBrgb(171, 99, 215)
HSLhsl(277, 59%, 62%)
HSVhsv(277, 54%, 84%)
CMYKcmyk(20.5%, 54%, 0%, 15.7%)
CIE-LABlab(54.54, 49.20, -48.36)
CIE-LCHlch(54.54, 68.99, 315.49°)
OKLaboklab(62.88% 0.1175 -0.1355)
OKLCHoklch(62.88% 0.179 310.9)
XYZxyz(33.5199, 22.4886, 66.8517)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB63D7 #8FD763
analogous
#7163D7 #AB63D7 #D763C9
triadic
#AB63D7 #D7AB63 #63D7AB
tetradic
#AB63D7 #D77163 #8FD763 #63C9D7
square
#AB63D7 #D77163 #8FD763 #63C9D7
split-complementary
#AB63D7 #C9D763 #63D771
monochromatic
#6D2798 #9034C9 #AB63D7 #C594E3 #DFC4F0

Accessibility & contrast

On white

3.82
#AB63D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#AB63D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB63D7
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB63D7#FFFFFF#000000##000000
##AB63D71.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#427FDB
Deuteranopia (green-blind)
#5A84D4
Tritanopia (blue-blind)
#A67794
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab63d7;
/* rgb */ color: rgb(171, 99, 215);
/* oklch */ color: oklch(62.9% 0.179 310.9);
Tailwind
colors: {
  custom: {
    50: '#c792e4',
    500: '#ab63d7',
    950: '#000000',
  },
}
SCSS
$custom: #ab63d7;
$custom-light: #c792e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab63d7",
  "rgb": {
    "r": 171,
    "g": 99,
    "b": 215
  },
  "hsl": {
    "h": 277.241,
    "s": 59.184,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62881,
    "c": 0.17934,
    "h": 310.9
  },
  "luminance": 0.22488
}

Semantic roles & 50–950 ramp

primary
#AB63D7
secondary
#C6E0B5
accent
#C71F5E
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D15
muted
#827E84

Preview Lab

Preview with #AB63D7

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

Preview Lab → · Contrast checker → · Palette generator →

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