#AB5DD2#AB5DD2

#AB5DD2 is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.7% C 0.183 H 313.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AB5DD2
RGBrgb(171, 93, 210)
HSLhsl(280, 57%, 59%)
HSVhsv(280, 56%, 82%)
CMYKcmyk(18.6%, 55.7%, 0%, 17.6%)
CIE-LABlab(53.10, 51.20, -47.81)
CIE-LCHlch(53.10, 70.06, 316.96°)
OKLaboklab(61.74% 0.125 -0.1338)
OKLCHoklch(61.74% 0.183 313.1)
XYZxyz(32.3398, 21.1406, 63.3372)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5DD2 #84D25D
analogous
#715DD2 #AB5DD2 #D25DBF
triadic
#AB5DD2 #D2AB5D #5DD2AB
tetradic
#AB5DD2 #D2715D #84D25D #5DBFD2
square
#AB5DD2 #D2715D #84D25D #5DBFD2
split-complementary
#AB5DD2 #BFD25D #5DD271
monochromatic
#6B278D #9035BD #AB5DD2 #C48DDF #DDBDED

Accessibility & contrast

On white

4.02
#AB5DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#AB5DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5DD2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5DD2#FFFFFF#000000##000000
##AB5DD21.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7BD6
Deuteranopia (green-blind)
#5881CF
Tritanopia (blue-blind)
#A7718F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ab5dd2;
/* rgb */ color: rgb(171, 93, 210);
/* oklch */ color: oklch(61.7% 0.183 313.1);
Tailwind
colors: {
  custom: {
    50: '#c78ee0',
    500: '#ab5dd2',
    950: '#000000',
  },
}
SCSS
$custom: #ab5dd2;
$custom-light: #c78ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5dd2",
  "rgb": {
    "r": 171,
    "g": 93,
    "b": 210
  },
  "hsl": {
    "h": 280,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61736,
    "c": 0.18317,
    "h": 313.1
  },
  "luminance": 0.2114
}

Semantic roles & 50–950 ramp

primary
#AB5DD2
secondary
#BEDCAF
accent
#E0487B
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB5DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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