#AB53EA#AB53EA

#AB53EA is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.9% C 0.222 H 308.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AB53EA
RGBrgb(171, 83, 234)
HSLhsl(275, 78%, 62%)
HSVhsv(275, 65%, 92%)
CMYKcmyk(26.9%, 64.5%, 0%, 8.2%)
CIE-LABlab(52.71, 61.30, -62.00)
CIE-LCHlch(52.71, 87.19, 314.67°)
OKLaboklab(61.91% 0.1368 -0.1754)
OKLCHoklch(61.91% 0.222 308)
XYZxyz(34.7361, 20.7855, 80.0080)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB53EA #92EA53
analogous
#6053EA #AB53EA #EA53DD
triadic
#AB53EA #EAAB53 #53EAAB
tetradic
#AB53EA #EA6053 #92EA53 #53DDEA
square
#AB53EA #EA6053 #92EA53 #53DDEA
split-complementary
#AB53EA #DDEA53 #53EA60
monochromatic
#6E15AD #901CE3 #AB53EA #C68AF1 #E0C0F7

Accessibility & contrast

On white

4.07
#AB53EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#AB53EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB53EA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB53EA#FFFFFF#000000##000000
##AB53EA1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#367FE7
Tritanopia (blue-blind)
#A17398
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab53ea;
/* rgb */ color: rgb(171, 83, 234);
/* oklch */ color: oklch(61.9% 0.222 308.0);
Tailwind
colors: {
  custom: {
    50: '#c889f1',
    500: '#ab53ea',
    950: '#000000',
  },
}
SCSS
$custom: #ab53ea;
$custom-light: #c889f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab53ea",
  "rgb": {
    "r": 171,
    "g": 83,
    "b": 234
  },
  "hsl": {
    "h": 274.967,
    "s": 78.238,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61907,
    "c": 0.22243,
    "h": 308
  },
  "luminance": 0.20785
}

Semantic roles & 50–950 ramp

primary
#AB53EA
secondary
#C8E8B1
accent
#DB0B62
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB53EA

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

Preview Lab → · Contrast checker → · Palette generator →

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