#AB5BDC#AB5BDC

#AB5BDC is a light, vivid violet. Relative luminance 0.213; OKLCH L 62.1% C 0.197 H 310.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AB5BDC
RGBrgb(171, 91, 220)
HSLhsl(277, 65%, 61%)
HSVhsv(277, 59%, 86%)
CMYKcmyk(22.3%, 58.6%, 0%, 13.7%)
CIE-LABlab(53.29, 54.37, -53.20)
CIE-LCHlch(53.29, 76.07, 315.63°)
OKLaboklab(62.05% 0.1279 -0.1496)
OKLCHoklch(62.05% 0.197 310.5)
XYZxyz(33.4515, 21.3081, 70.0469)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BDC #8CDC5B
analogous
#6A5BDC #AB5BDC #DC5BCD
triadic
#AB5BDC #DCAB5B #5BDCAB
tetradic
#AB5BDC #DC6A5B #8CDC5B #5BCDDC
square
#AB5BDC #DC6A5B #8CDC5B #5BCDDC
split-complementary
#AB5BDC #CDDC5B #5BDC6A
monochromatic
#6D219B #902CCE #AB5BDC #C58DE7 #DFC0F2

Accessibility & contrast

On white

3.99
#AB5BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#AB5BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BDC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BDC#FFFFFF#000000##000000
##AB5BDC1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7CE0
Deuteranopia (green-blind)
#4E81D9
Tritanopia (blue-blind)
#A57393
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ab5bdc;
/* rgb */ color: rgb(171, 91, 220);
/* oklch */ color: oklch(62.1% 0.197 310.5);
Tailwind
colors: {
  custom: {
    50: '#c78de7',
    500: '#ab5bdc',
    950: '#000000',
  },
}
SCSS
$custom: #ab5bdc;
$custom-light: #c78de7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5bdc",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 220
  },
  "hsl": {
    "h": 277.209,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6205,
    "c": 0.1968,
    "h": 310.5
  },
  "luminance": 0.21307
}

Semantic roles & 50–950 ramp

primary
#AB5BDC
secondary
#C4E2B1
accent
#CD195D
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB5BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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