#AB6CE8#AB6CE8

#AB6CE8 is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.2% C 0.185 H 305.3°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AB6CE8
RGBrgb(171, 108, 232)
HSLhsl(270, 73%, 67%)
HSVhsv(270, 53%, 91%)
CMYKcmyk(26.3%, 53.4%, 0%, 9%)
CIE-LABlab(57.28, 48.30, -53.57)
CIE-LCHlch(57.28, 72.13, 312.04°)
OKLaboklab(65.2% 0.1068 -0.1507)
OKLCHoklch(65.2% 0.185 305.3)
XYZxyz(36.7195, 25.2095, 79.2598)
Luminance0.2521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6CE8 #A9E86C
analogous
#6D6CE8 #AB6CE8 #E86CE7
triadic
#AB6CE8 #E8AB6C #6CE8AB
tetradic
#AB6CE8 #E86D6C #A9E86C #6CE7E8
square
#AB6CE8 #E86D6C #A9E86C #6CE7E8
split-complementary
#AB6CE8 #E7E86C #6CE86D
monochromatic
#6E1DBC #8D37E0 #AB6CE8 #C9A1F0 #E7D6F9

Accessibility & contrast

On white

3.48
#AB6CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#AB6CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6CE8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6CE8#FFFFFF#000000##000000
##AB6CE81.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4288EC
Deuteranopia (green-blind)
#578AE5
Tritanopia (blue-blind)
#A183A0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab6ce8;
/* rgb */ color: rgb(171, 108, 232);
/* oklch */ color: oklch(65.2% 0.185 305.3);
Tailwind
colors: {
  custom: {
    50: '#c798f0',
    500: '#ab6ce8',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ce8;
$custom-light: #c798f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ce8",
  "rgb": {
    "r": 171,
    "g": 108,
    "b": 232
  },
  "hsl": {
    "h": 270.484,
    "s": 72.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65197,
    "c": 0.18473,
    "h": 305.3
  },
  "luminance": 0.25209
}

Semantic roles & 50–950 ramp

primary
#AB6CE8
secondary
#D8ECC4
accent
#D51071
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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