#AB53EC#AB53EC

#AB53EC is a light, highly saturated violet. Relative luminance 0.209; OKLCH L 62.0% C 0.224 H 307.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AB53EC
RGBrgb(171, 83, 236)
HSLhsl(275, 80%, 63%)
HSVhsv(275, 65%, 93%)
CMYKcmyk(27.5%, 64.8%, 0%, 7.5%)
CIE-LABlab(52.84, 61.74, -62.92)
CIE-LCHlch(52.84, 88.15, 314.46°)
OKLaboklab(62.04% 0.1367 -0.1781)
OKLCHoklch(62.04% 0.224 307.5)
XYZxyz(35.0250, 20.9010, 81.5298)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB53EC #94EC53
analogous
#5F53EC #AB53EC #EC53E0
triadic
#AB53EC #ECAB53 #53ECAB
tetradic
#AB53EC #EC5F53 #94EC53 #53E0EC
square
#AB53EC #EC5F53 #94EC53 #53E0EC
split-complementary
#AB53EC #E0EC53 #53EC5F
monochromatic
#6E14B1 #901CE6 #AB53EC #C68AF2 #E1C1F8

Accessibility & contrast

On white

4.05
#AB53EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#AB53EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB53EC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB53EC#FFFFFF#000000##000000
##AB53EC1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#337FE9
Tritanopia (blue-blind)
#A17399
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab53ec;
/* rgb */ color: rgb(171, 83, 236);
/* oklch */ color: oklch(62.0% 0.224 307.5);
Tailwind
colors: {
  custom: {
    50: '#c889f3',
    500: '#ab53ec',
    950: '#000000',
  },
}
SCSS
$custom: #ab53ec;
$custom-light: #c889f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab53ec",
  "rgb": {
    "r": 171,
    "g": 83,
    "b": 236
  },
  "hsl": {
    "h": 274.51,
    "s": 80.105,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62039,
    "c": 0.22448,
    "h": 307.5
  },
  "luminance": 0.20901
}

Semantic roles & 50–950 ramp

primary
#AB53EC
secondary
#C9E9B2
accent
#DC0963
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB53EC

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

Preview Lab → · Contrast checker → · Palette generator →

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