#AB7ADA#AB7ADA

#AB7ADA is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.7% C 0.146 H 306.4°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#AB7ADA
RGBrgb(171, 122, 218)
HSLhsl(271, 56%, 67%)
HSVhsv(271, 44%, 85%)
CMYKcmyk(21.6%, 44%, 0%, 14.5%)
CIE-LABlab(59.56, 37.42, -42.12)
CIE-LCHlch(59.56, 56.34, 311.62°)
OKLaboklab(66.66% 0.0865 -0.1174)
OKLCHoklch(66.66% 0.146 306.4)
XYZxyz(36.4065, 27.6392, 69.7330)
Luminance0.2764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7ADA #A9DA7A
analogous
#7B7ADA #AB7ADA #DA7AD9
triadic
#AB7ADA #DAAB7A #7ADAAB
tetradic
#AB7ADA #DA7B7A #A9DA7A #7AD9DA
square
#AB7ADA #DA7B7A #A9DA7A #7AD9DA
split-complementary
#AB7ADA #D9DA7A #7ADA7B
monochromatic
#6E2FAA #8D4ACD #AB7ADA #C9AAE7 #E7DAF5

Accessibility & contrast

On white

3.22
#AB7ADA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#AB7ADA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7ADA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7ADA#FFFFFF#000000##000000
##AB7ADA1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EDD
Deuteranopia (green-blind)
#6E90D7
Tritanopia (blue-blind)
#A48AA0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab7ada;
/* rgb */ color: rgb(171, 122, 218);
/* oklch */ color: oklch(66.7% 0.146 306.4);
Tailwind
colors: {
  custom: {
    50: '#c6a1e6',
    500: '#ab7ada',
    950: '#000000',
  },
}
SCSS
$custom: #ab7ada;
$custom-light: #c6a1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7ada",
  "rgb": {
    "r": 171,
    "g": 122,
    "b": 218
  },
  "hsl": {
    "h": 270.625,
    "s": 56.471,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66662,
    "c": 0.14583,
    "h": 306.4
  },
  "luminance": 0.27639
}

Semantic roles & 50–950 ramp

primary
#AB7ADA
secondary
#D8E7C8
accent
#C42171
background
#FCFAFE
surface
#F8F3FC
border
#D1CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AB7ADA

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

Preview Lab → · Contrast checker → · Palette generator →

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