#AB53E7#AB53E7

#AB53E7 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.7% C 0.219 H 308.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AB53E7
RGBrgb(171, 83, 231)
HSLhsl(276, 76%, 62%)
HSVhsv(276, 64%, 91%)
CMYKcmyk(26%, 64.1%, 0%, 9.4%)
CIE-LABlab(52.52, 60.64, -60.62)
CIE-LCHlch(52.52, 85.75, 315.01°)
OKLaboklab(61.71% 0.137 -0.1713)
OKLCHoklch(61.71% 0.219 308.7)
XYZxyz(34.3087, 20.6145, 77.7574)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB53E7 #8FE753
analogous
#6153E7 #AB53E7 #E753D9
triadic
#AB53E7 #E7AB53 #53E7AB
tetradic
#AB53E7 #E76153 #8FE753 #53D9E7
square
#AB53E7 #E76153 #8FE753 #53D9E7
split-complementary
#AB53E7 #D9E753 #53E761
monochromatic
#6D17A8 #901FDE #AB53E7 #C589EE #DFBEF6

Accessibility & contrast

On white

4.10
#AB53E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#AB53E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB53E7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB53E7#FFFFFF#000000##000000
##AB53E71.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#3A7EE4
Tritanopia (blue-blind)
#A27196
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab53e7;
/* rgb */ color: rgb(171, 83, 231);
/* oklch */ color: oklch(61.7% 0.219 308.7);
Tailwind
colors: {
  custom: {
    50: '#c889ef',
    500: '#ab53e7',
    950: '#000000',
  },
}
SCSS
$custom: #ab53e7;
$custom-light: #c889ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ab53e7",
  "rgb": {
    "r": 171,
    "g": 83,
    "b": 231
  },
  "hsl": {
    "h": 275.676,
    "s": 75.51,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6171,
    "c": 0.21937,
    "h": 308.7
  },
  "luminance": 0.20614
}

Semantic roles & 50–950 ramp

primary
#AB53E7
secondary
#C6E6AF
accent
#D80E60
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB53E7

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

Preview Lab → · Contrast checker → · Palette generator →

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