#AB5ADD#AB5ADD

#AB5ADD is a mid, vivid violet. Relative luminance 0.212; OKLCH L 62.0% C 0.199 H 310.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AB5ADD
RGBrgb(171, 90, 221)
HSLhsl(277, 66%, 61%)
HSVhsv(277, 59%, 87%)
CMYKcmyk(22.6%, 59.3%, 0%, 13.3%)
CIE-LABlab(53.16, 55.09, -53.96)
CIE-LCHlch(53.16, 77.12, 315.59°)
OKLaboklab(61.98% 0.1291 -0.1518)
OKLCHoklch(61.98% 0.199 310.4)
XYZxyz(33.4994, 21.1914, 70.7182)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5ADD #8CDD5A
analogous
#695ADD #AB5ADD #DD5ACD
triadic
#AB5ADD #DDAB5A #5ADDAB
tetradic
#AB5ADD #DD695A #8CDD5A #5ACDDD
square
#AB5ADD #DD695A #8CDD5A #5ACDDD
split-complementary
#AB5ADD #CDDD5A #5ADD69
monochromatic
#6D209C #902BCF #AB5ADD #C58DE7 #DFBFF2

Accessibility & contrast

On white

4.01
#AB5ADD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#AB5ADD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5ADD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5ADD#FFFFFF#000000##000000
##AB5ADD1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#287BE1
Deuteranopia (green-blind)
#4C80DA
Tritanopia (blue-blind)
#A57393
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ab5add;
/* rgb */ color: rgb(171, 90, 221);
/* oklch */ color: oklch(62.0% 0.199 310.4);
Tailwind
colors: {
  custom: {
    50: '#c78ce8',
    500: '#ab5add',
    950: '#000000',
  },
}
SCSS
$custom: #ab5add;
$custom-light: #c78ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5add",
  "rgb": {
    "r": 171,
    "g": 90,
    "b": 221
  },
  "hsl": {
    "h": 277.099,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61976,
    "c": 0.19931,
    "h": 310.4
  },
  "luminance": 0.21191
}

Semantic roles & 50–950 ramp

primary
#AB5ADD
secondary
#C4E2B1
accent
#CE185D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB5ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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