#AB63B3#AB63B3

#AB63B3 is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.0% C 0.141 H 323.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AB63B3
RGBrgb(171, 99, 179)
HSLhsl(294, 34%, 55%)
HSVhsv(294, 45%, 70%)
CMYKcmyk(4.5%, 44.7%, 0%, 29.8%)
CIE-LABlab(52.77, 41.69, -30.53)
CIE-LCHlch(52.77, 51.67, 323.79°)
OKLaboklab(60.99% 0.113 -0.0839)
OKLCHoklch(60.99% 0.141 323.4)
XYZxyz(29.3923, 20.8375, 45.1129)
Luminance0.2084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB63B3 #6BB363
analogous
#8363B3 #AB63B3 #B36393
triadic
#AB63B3 #B3AB63 #63B3AB
tetradic
#AB63B3 #B38363 #6BB363 #6393B3
square
#AB63B3 #B38363 #6BB363 #6393B3
split-complementary
#AB63B3 #93B363 #63B383
monochromatic
#633369 #8A4792 #AB63B3 #C18CC7 #D7B5DB

Accessibility & contrast

On white

4.06
#AB63B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#AB63B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB63B3
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB63B3#FFFFFF#000000##000000
##AB63B31.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5978B6
Deuteranopia (green-blind)
#6D81B1
Tritanopia (blue-blind)
#AE6C83
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab63b3;
/* rgb */ color: rgb(171, 99, 179);
/* oklch */ color: oklch(61.0% 0.141 323.4);
Tailwind
colors: {
  custom: {
    50: '#c591ca',
    500: '#ab63b3',
    950: '#000000',
  },
}
SCSS
$custom: #ab63b3;
$custom-light: #c591ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ab63b3",
  "rgb": {
    "r": 171,
    "g": 99,
    "b": 179
  },
  "hsl": {
    "h": 294,
    "s": 34.483,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60992,
    "c": 0.1407,
    "h": 323.4
  },
  "luminance": 0.20836
}

Semantic roles & 50–950 ramp

primary
#AB63B3
secondary
#ABCAA8
accent
#CB5D68
background
#FCF9FC
surface
#F8F1F8
border
#D1CBD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #AB63B3

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

Preview Lab → · Contrast checker → · Palette generator →

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