#AB5ADA#AB5ADA

#AB5ADA is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.8% C 0.196 H 311.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AB5ADA
RGBrgb(171, 90, 218)
HSLhsl(278, 63%, 60%)
HSVhsv(278, 59%, 85%)
CMYKcmyk(21.6%, 58.7%, 0%, 14.5%)
CIE-LABlab(52.99, 54.44, -52.54)
CIE-LCHlch(52.99, 75.66, 316.01°)
OKLaboklab(61.8% 0.1291 -0.1477)
OKLCHoklch(61.8% 0.196 311.2)
XYZxyz(33.1033, 21.0329, 68.6320)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5ADA #89DA5A
analogous
#6B5ADA #AB5ADA #DA5AC9
triadic
#AB5ADA #DAAB5A #5ADAAB
tetradic
#AB5ADA #DA6B5A #89DA5A #5AC9DA
square
#AB5ADA #DA6B5A #89DA5A #5AC9DA
split-complementary
#AB5ADA #C9DA5A #5ADA6B
monochromatic
#6C2298 #902DCA #AB5ADA #C48CE5 #DEBEF0

Accessibility & contrast

On white

4.03
#AB5ADA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#AB5ADA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5ADA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5ADA#FFFFFF#000000##000000
##AB5ADA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7BDE
Deuteranopia (green-blind)
#4F80D7
Tritanopia (blue-blind)
#A57292
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab5ada;
/* rgb */ color: rgb(171, 90, 218);
/* oklch */ color: oklch(61.8% 0.196 311.2);
Tailwind
colors: {
  custom: {
    50: '#c78ce6',
    500: '#ab5ada',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ada;
$custom-light: #c78ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ada",
  "rgb": {
    "r": 171,
    "g": 90,
    "b": 218
  },
  "hsl": {
    "h": 277.969,
    "s": 63.366,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61795,
    "c": 0.19615,
    "h": 311.2
  },
  "luminance": 0.21032
}

Semantic roles & 50–950 ramp

primary
#AB5ADA
secondary
#C1E0AF
accent
#CB1A5B
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB5ADA

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

Preview Lab → · Contrast checker → · Palette generator →

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