#AB6CE9#AB6CE9

#AB6CE9 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.3% C 0.186 H 305.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AB6CE9
RGBrgb(171, 108, 233)
HSLhsl(270, 74%, 67%)
HSVhsv(270, 54%, 91%)
CMYKcmyk(26.6%, 53.6%, 0%, 8.6%)
CIE-LABlab(57.33, 48.53, -54.04)
CIE-LCHlch(57.33, 72.63, 311.93°)
OKLaboklab(65.26% 0.1069 -0.1521)
OKLCHoklch(65.26% 0.186 305.1)
XYZxyz(36.8620, 25.2665, 80.0100)
Luminance0.2527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6CE9 #AAE96C
analogous
#6D6CE9 #AB6CE9 #E96CE8
triadic
#AB6CE9 #E9AB6C #6CE9AB
tetradic
#AB6CE9 #E96D6C #AAE96C #6CE8E9
square
#AB6CE9 #E96D6C #AAE96C #6CE8E9
split-complementary
#AB6CE9 #E8E96C #6CE96D
monochromatic
#6E1CBE #8D37E1 #AB6CE9 #C9A1F1 #E8D6F9

Accessibility & contrast

On white

3.47
#AB6CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#AB6CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6CE9
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6CE9#FFFFFF#000000##000000
##AB6CE91.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4188ED
Deuteranopia (green-blind)
#568AE6
Tritanopia (blue-blind)
#A183A0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab6ce9;
/* rgb */ color: rgb(171, 108, 233);
/* oklch */ color: oklch(65.3% 0.186 305.1);
Tailwind
colors: {
  custom: {
    50: '#c798f1',
    500: '#ab6ce9',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ce9;
$custom-light: #c798f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ce9",
  "rgb": {
    "r": 171,
    "g": 108,
    "b": 233
  },
  "hsl": {
    "h": 270.24,
    "s": 73.964,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65256,
    "c": 0.18589,
    "h": 305.1
  },
  "luminance": 0.25266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB6CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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