#AB53EE#AB53EE

#AB53EE is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.2% C 0.227 H 307.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AB53EE
RGBrgb(171, 83, 238)
HSLhsl(274, 82%, 63%)
HSVhsv(274, 65%, 93%)
CMYKcmyk(28.2%, 65.1%, 0%, 6.7%)
CIE-LABlab(52.97, 62.18, -63.84)
CIE-LCHlch(52.97, 89.12, 314.25°)
OKLaboklab(62.17% 0.1365 -0.1808)
OKLCHoklch(62.17% 0.227 307.1)
XYZxyz(35.3172, 21.0179, 83.0687)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB53EE #96EE53
analogous
#5E53EE #AB53EE #EE53E3
triadic
#AB53EE #EEAB53 #53EEAB
tetradic
#AB53EE #EE5E53 #96EE53 #53E3EE
square
#AB53EE #EE5E53 #96EE53 #53E3EE
split-complementary
#AB53EE #E3EE53 #53EE5E
monochromatic
#6E12B5 #901BE8 #AB53EE #C68BF4 #E1C2F9

Accessibility & contrast

On white

4.04
#AB53EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#AB53EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB53EE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB53EE#FFFFFF#000000##000000
##AB53EE1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#307FEB
Tritanopia (blue-blind)
#A0749A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab53ee;
/* rgb */ color: rgb(171, 83, 238);
/* oklch */ color: oklch(62.2% 0.227 307.1);
Tailwind
colors: {
  custom: {
    50: '#c989f4',
    500: '#ab53ee',
    950: '#000000',
  },
}
SCSS
$custom: #ab53ee;
$custom-light: #c989f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab53ee",
  "rgb": {
    "r": 171,
    "g": 83,
    "b": 238
  },
  "hsl": {
    "h": 274.065,
    "s": 82.011,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62172,
    "c": 0.22652,
    "h": 307.1
  },
  "luminance": 0.21017
}

Semantic roles & 50–950 ramp

primary
#AB53EE
secondary
#CBEAB2
accent
#DE0764
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB53EE

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

Preview Lab → · Contrast checker → · Palette generator →

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