#AB5BDD#AB5BDD

#AB5BDD is a light, vivid violet. Relative luminance 0.214; OKLCH L 62.1% C 0.198 H 310.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AB5BDD
RGBrgb(171, 91, 221)
HSLhsl(277, 66%, 61%)
HSVhsv(277, 59%, 87%)
CMYKcmyk(22.6%, 58.8%, 0%, 13.3%)
CIE-LABlab(53.34, 54.59, -53.67)
CIE-LCHlch(53.34, 76.56, 315.49°)
OKLaboklab(62.11% 0.1279 -0.151)
OKLCHoklch(62.11% 0.198 310.3)
XYZxyz(33.5843, 21.3612, 70.7465)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BDD #8DDD5B
analogous
#6A5BDD #AB5BDD #DD5BCE
triadic
#AB5BDD #DDAB5B #5BDDAB
tetradic
#AB5BDD #DD6A5B #8DDD5B #5BCEDD
square
#AB5BDD #DD6A5B #8DDD5B #5BCEDD
split-complementary
#AB5BDD #CEDD5B #5BDD6A
monochromatic
#6D219D #902BD0 #AB5BDD #C58EE8 #DFC0F2

Accessibility & contrast

On white

3.98
#AB5BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#AB5BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BDD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BDD#FFFFFF#000000##000000
##AB5BDD1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7CE1
Deuteranopia (green-blind)
#4D81DA
Tritanopia (blue-blind)
#A57394
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ab5bdd;
/* rgb */ color: rgb(171, 91, 221);
/* oklch */ color: oklch(62.1% 0.198 310.3);
Tailwind
colors: {
  custom: {
    50: '#c78de8',
    500: '#ab5bdd',
    950: '#000000',
  },
}
SCSS
$custom: #ab5bdd;
$custom-light: #c78de8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5bdd",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 221
  },
  "hsl": {
    "h": 276.923,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6211,
    "c": 0.19786,
    "h": 310.3
  },
  "luminance": 0.21361
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB5BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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