#AB53E2#AB53E2

#AB53E2 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.4% C 0.214 H 309.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AB53E2
RGBrgb(171, 83, 226)
HSLhsl(277, 71%, 61%)
HSVhsv(277, 63%, 89%)
CMYKcmyk(24.3%, 63.3%, 0%, 11.4%)
CIE-LABlab(52.22, 59.55, -58.30)
CIE-LCHlch(52.22, 83.34, 315.61°)
OKLaboklab(61.39% 0.1373 -0.1645)
OKLCHoklch(61.39% 0.214 309.9)
XYZxyz(33.6126, 20.3361, 74.0913)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB53E2 #8AE253
analogous
#6353E2 #AB53E2 #E253D1
triadic
#AB53E2 #E2AB53 #53E2AB
tetradic
#AB53E2 #E26353 #8AE253 #53D1E2
square
#AB53E2 #E26353 #8AE253 #53D1E2
split-complementary
#AB53E2 #D1E253 #53E263
monochromatic
#6D1BA0 #9024D4 #AB53E2 #C587EB #DEBCF4

Accessibility & contrast

On white

4.14
#AB53E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#AB53E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB53E2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB53E2#FFFFFF#000000##000000
##AB53E21.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#407EDF
Tritanopia (blue-blind)
#A37093
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab53e2;
/* rgb */ color: rgb(171, 83, 226);
/* oklch */ color: oklch(61.4% 0.214 309.9);
Tailwind
colors: {
  custom: {
    50: '#c888ec',
    500: '#ab53e2',
    950: '#000000',
  },
}
SCSS
$custom: #ab53e2;
$custom-light: #c888ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ab53e2",
  "rgb": {
    "r": 171,
    "g": 83,
    "b": 226
  },
  "hsl": {
    "h": 276.923,
    "s": 71.144,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61388,
    "c": 0.21428,
    "h": 309.9
  },
  "luminance": 0.20335
}

Semantic roles & 50–950 ramp

primary
#AB53E2
secondary
#C2E4AD
accent
#D3125C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AB53E2

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

Preview Lab → · Contrast checker → · Palette generator →

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