#AB5AE7#AB5AE7

#AB5AE7 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.6% C 0.210 H 307.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AB5AE7
RGBrgb(171, 90, 231)
HSLhsl(274, 75%, 63%)
HSVhsv(274, 61%, 91%)
CMYKcmyk(26%, 61%, 0%, 9.4%)
CIE-LABlab(53.75, 57.30, -58.65)
CIE-LCHlch(53.75, 81.99, 314.33°)
OKLaboklab(62.6% 0.129 -0.1656)
OKLCHoklch(62.6% 0.21 307.9)
XYZxyz(34.8716, 21.7403, 77.9451)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5AE7 #96E75A
analogous
#645AE7 #AB5AE7 #E75ADC
triadic
#AB5AE7 #E7AB5A #5AE7AB
tetradic
#AB5AE7 #E7645A #96E75A #5ADCE7
square
#AB5AE7 #E7645A #96E75A #5ADCE7
split-complementary
#AB5AE7 #DCE75A #5AE764
monochromatic
#6E19AD #9025DF #AB5AE7 #C68FEF #E1C5F7

Accessibility & contrast

On white

3.93
#AB5AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#AB5AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5AE7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5AE7#FFFFFF#000000##000000
##AB5AE71.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#127DEB
Deuteranopia (green-blind)
#4381E4
Tritanopia (blue-blind)
#A27698
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab5ae7;
/* rgb */ color: rgb(171, 90, 231);
/* oklch */ color: oklch(62.6% 0.210 307.9);
Tailwind
colors: {
  custom: {
    50: '#c88def',
    500: '#ab5ae7',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ae7;
$custom-light: #c88def;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ae7",
  "rgb": {
    "r": 171,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 274.468,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62597,
    "c": 0.20989,
    "h": 307.9
  },
  "luminance": 0.2174
}

Semantic roles & 50–950 ramp

primary
#AB5AE7
secondary
#CBE8B5
accent
#D70F64
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AB5AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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