#AB53D2#AB53D2

#AB53D2 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.4% C 0.198 H 314.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AB53D2
RGBrgb(171, 83, 210)
HSLhsl(282, 59%, 57%)
HSVhsv(282, 60%, 82%)
CMYKcmyk(18.6%, 60.5%, 0%, 17.6%)
CIE-LABlab(51.27, 56.15, -50.74)
CIE-LCHlch(51.27, 75.68, 317.90°)
OKLaboklab(60.4% 0.1377 -0.1423)
OKLCHoklch(60.4% 0.198 314)
XYZxyz(31.5188, 19.4985, 63.0635)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB53D2 #7AD253
analogous
#6C53D2 #AB53D2 #D253B9
triadic
#AB53D2 #D2AB53 #53D2AB
tetradic
#AB53D2 #D26C53 #7AD253 #53B9D2
square
#AB53D2 #D26C53 #7AD253 #53B9D2
split-complementary
#AB53D2 #B9D253 #53D26C
monochromatic
#692387 #8E30B8 #AB53D2 #C384DF #DAB4EB

Accessibility & contrast

On white

4.29
#AB53D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#AB53D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB53D2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB53D2#FFFFFF#000000##000000
##AB53D21.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2875D6
Deuteranopia (green-blind)
#4E7CCF
Tritanopia (blue-blind)
#A86A8B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab53d2;
/* rgb */ color: rgb(171, 83, 210);
/* oklch */ color: oklch(60.4% 0.198 314.0);
Tailwind
colors: {
  custom: {
    50: '#c788e0',
    500: '#ab53d2',
    950: '#000000',
  },
}
SCSS
$custom: #ab53d2;
$custom-light: #c788e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab53d2",
  "rgb": {
    "r": 171,
    "g": 83,
    "b": 210
  },
  "hsl": {
    "h": 281.575,
    "s": 58.525,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60395,
    "c": 0.19802,
    "h": 314
  },
  "luminance": 0.19498
}

Semantic roles & 50–950 ramp

primary
#AB53D2
secondary
#B7DAA7
accent
#E24676
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB53D2

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

Preview Lab → · Contrast checker → · Palette generator →

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