#AB63BA#AB63BA

#AB63BA is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.3% C 0.148 H 320.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AB63BA
RGBrgb(171, 99, 186)
HSLhsl(290, 39%, 56%)
HSVhsv(290, 47%, 73%)
CMYKcmyk(8.1%, 46.8%, 0%, 27.1%)
CIE-LABlab(53.09, 43.08, -34.08)
CIE-LCHlch(53.09, 54.93, 321.65°)
OKLaboklab(61.33% 0.1142 -0.0941)
OKLCHoklch(61.33% 0.148 320.5)
XYZxyz(30.1183, 21.1279, 48.9364)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB63BA #72BA63
analogous
#7F63BA #AB63BA #BA639D
triadic
#AB63BA #BAAB63 #63BAAB
tetradic
#AB63BA #BA7F63 #72BA63 #639DBA
square
#AB63BA #BA7F63 #72BA63 #639DBA
split-complementary
#AB63BA #9DBA63 #63BA7F
monochromatic
#663271 #8C459B #AB63BA #C28DCD #D9B8E0

Accessibility & contrast

On white

4.02
#AB63BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#AB63BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB63BA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB63BA#FFFFFF#000000##000000
##AB63BA1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#567ABD
Deuteranopia (green-blind)
#6A81B7
Tritanopia (blue-blind)
#AC6E86
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ab63ba;
/* rgb */ color: rgb(171, 99, 186);
/* oklch */ color: oklch(61.3% 0.148 320.5);
Tailwind
colors: {
  custom: {
    50: '#c691cf',
    500: '#ab63ba',
    950: '#000000',
  },
}
SCSS
$custom: #ab63ba;
$custom-light: #c691cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab63ba",
  "rgb": {
    "r": 171,
    "g": 99,
    "b": 186
  },
  "hsl": {
    "h": 289.655,
    "s": 38.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61333,
    "c": 0.14796,
    "h": 320.5
  },
  "luminance": 0.21127
}

Semantic roles & 50–950 ramp

primary
#AB63BA
secondary
#B1CEAA
accent
#CF596D
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AB63BA

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

Preview Lab → · Contrast checker → · Palette generator →

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