#AB6EE5#AB6EE5

#AB6EE5 is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.3% C 0.178 H 305.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AB6EE5
RGBrgb(171, 110, 229)
HSLhsl(271, 70%, 66%)
HSVhsv(271, 52%, 90%)
CMYKcmyk(25.3%, 52%, 0%, 10.2%)
CIE-LABlab(57.53, 46.53, -51.50)
CIE-LCHlch(57.53, 69.41, 312.10°)
OKLaboklab(65.33% 0.104 -0.1447)
OKLCHoklch(65.33% 0.178 305.7)
XYZxyz(36.5104, 25.4672, 77.1058)
Luminance0.2547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EE5 #A8E56E
analogous
#706EE5 #AB6EE5 #E56EE4
triadic
#AB6EE5 #E5AB6E #6EE5AB
tetradic
#AB6EE5 #E5706E #A8E56E #6EE4E5
square
#AB6EE5 #E5706E #A8E56E #6EE4E5
split-complementary
#AB6EE5 #E4E56E #6EE570
monochromatic
#6E21B8 #8D3ADC #AB6EE5 #C9A2EE #E7D6F8

Accessibility & contrast

On white

3.45
#AB6EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#AB6EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EE5
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EE5#FFFFFF#000000##000000
##AB6EE51.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4888E9
Deuteranopia (green-blind)
#5B8AE2
Tritanopia (blue-blind)
#A2849F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab6ee5;
/* rgb */ color: rgb(171, 110, 229);
/* oklch */ color: oklch(65.3% 0.178 305.7);
Tailwind
colors: {
  custom: {
    50: '#c799ee',
    500: '#ab6ee5',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ee5;
$custom-light: #c799ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ee5",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 229
  },
  "hsl": {
    "h": 270.756,
    "s": 69.591,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65328,
    "c": 0.17819,
    "h": 305.7
  },
  "luminance": 0.25467
}

Semantic roles & 50–950 ramp

primary
#AB6EE5
secondary
#D7EBC4
accent
#D21470
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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