#AB6AEC#AB6AEC

#AB6AEC is a light, vivid violet. Relative luminance 0.250; OKLCH L 65.1% C 0.192 H 304.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AB6AEC
RGBrgb(171, 106, 236)
HSLhsl(270, 77%, 67%)
HSVhsv(270, 55%, 93%)
CMYKcmyk(27.5%, 55.1%, 0%, 7.5%)
CIE-LABlab(57.10, 50.29, -56.09)
CIE-LCHlch(57.10, 75.34, 311.88°)
OKLaboklab(65.14% 0.1095 -0.1581)
OKLCHoklch(65.14% 0.192 304.7)
XYZxyz(37.0857, 25.0223, 82.2167)
Luminance0.2502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6AEC #ABEC6A
analogous
#6A6AEC #AB6AEC #EC6AEC
triadic
#AB6AEC #ECAB6A #6AECAB
tetradic
#AB6AEC #EC6A6A #ABEC6A #6AECEC
square
#AB6AEC #EC6A6A #ABEC6A #6AECEC
split-complementary
#AB6AEC #ECEC6A #6AEC6A
monochromatic
#6E19C3 #8C34E5 #AB6AEC #CAA0F3 #E8D7FA

Accessibility & contrast

On white

3.50
#AB6AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#AB6AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6AEC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6AEC#FFFFFF#000000##000000
##AB6AEC1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87F0
Deuteranopia (green-blind)
#5189E9
Tritanopia (blue-blind)
#A083A1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab6aec;
/* rgb */ color: rgb(171, 106, 236);
/* oklch */ color: oklch(65.1% 0.192 304.7);
Tailwind
colors: {
  custom: {
    50: '#c797f3',
    500: '#ab6aec',
    950: '#000000',
  },
}
SCSS
$custom: #ab6aec;
$custom-light: #c797f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6aec",
  "rgb": {
    "r": 171,
    "g": 106,
    "b": 236
  },
  "hsl": {
    "h": 270,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65136,
    "c": 0.19234,
    "h": 304.7
  },
  "luminance": 0.25022
}

Semantic roles & 50–950 ramp

primary
#AB6AEC
secondary
#D9EEC4
accent
#DA0C73
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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