#AB6AEA#AB6AEA

#AB6AEA is a light, vivid violet. Relative luminance 0.249; OKLCH L 65.0% C 0.190 H 305.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AB6AEA
RGBrgb(171, 106, 234)
HSLhsl(270, 75%, 67%)
HSVhsv(270, 55%, 92%)
CMYKcmyk(26.9%, 54.7%, 0%, 8.2%)
CIE-LABlab(56.98, 49.82, -55.16)
CIE-LCHlch(56.98, 74.33, 312.09°)
OKLaboklab(65.02% 0.1094 -0.1554)
OKLCHoklch(65.02% 0.19 305.2)
XYZxyz(36.7967, 24.9067, 80.6949)
Luminance0.2491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6AEA #A9EA6A
analogous
#6B6AEA #AB6AEA #EA6AE9
triadic
#AB6AEA #EAAB6A #6AEAAB
tetradic
#AB6AEA #EA6B6A #A9EA6A #6AE9EA
square
#AB6AEA #EA6B6A #A9EA6A #6AE9EA
split-complementary
#AB6AEA #E9EA6A #6AEA6B
monochromatic
#6E1BBF #8D34E2 #AB6AEA #C9A0F2 #E7D5F9

Accessibility & contrast

On white

3.51
#AB6AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#AB6AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6AEA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6AEA#FFFFFF#000000##000000
##AB6AEA1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EE
Deuteranopia (green-blind)
#5389E7
Tritanopia (blue-blind)
#A082A0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab6aea;
/* rgb */ color: rgb(171, 106, 234);
/* oklch */ color: oklch(65.0% 0.190 305.2);
Tailwind
colors: {
  custom: {
    50: '#c797f1',
    500: '#ab6aea',
    950: '#000000',
  },
}
SCSS
$custom: #ab6aea;
$custom-light: #c797f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6aea",
  "rgb": {
    "r": 171,
    "g": 106,
    "b": 234
  },
  "hsl": {
    "h": 270.469,
    "s": 75.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65016,
    "c": 0.19005,
    "h": 305.2
  },
  "luminance": 0.24907
}

Semantic roles & 50–950 ramp

primary
#AB6AEA
secondary
#D8EDC3
accent
#D70E71
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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