#AB6CE3#AB6CE3

#AB6CE3 is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.9% C 0.179 H 306.5°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AB6CE3
RGBrgb(171, 108, 227)
HSLhsl(272, 68%, 66%)
HSVhsv(272, 52%, 89%)
CMYKcmyk(24.7%, 52.4%, 0%, 11%)
CIE-LABlab(57.01, 47.15, -51.20)
CIE-LCHlch(57.01, 69.60, 312.64°)
OKLaboklab(64.91% 0.1065 -0.1438)
OKLCHoklch(64.91% 0.179 306.5)
XYZxyz(36.0194, 24.9294, 75.5725)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6CE3 #A4E36C
analogous
#6F6CE3 #AB6CE3 #E36CDF
triadic
#AB6CE3 #E3AB6C #6CE3AB
tetradic
#AB6CE3 #E36F6C #A4E36C #6CDFE3
square
#AB6CE3 #E36F6C #A4E36C #6CDFE3
split-complementary
#AB6CE3 #DFE36C #6CE36F
monochromatic
#6F22B3 #8E39D9 #AB6CE3 #C89FED #E6D3F7

Accessibility & contrast

On white

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

On black

5.99
#AB6CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6CE3
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6CE3#FFFFFF#000000##000000
##AB6CE31.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4787E7
Deuteranopia (green-blind)
#5B89E0
Tritanopia (blue-blind)
#A2819D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab6ce3;
/* rgb */ color: rgb(171, 108, 227);
/* oklch */ color: oklch(64.9% 0.179 306.5);
Tailwind
colors: {
  custom: {
    50: '#c798ec',
    500: '#ab6ce3',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ce3;
$custom-light: #c798ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ce3",
  "rgb": {
    "r": 171,
    "g": 108,
    "b": 227
  },
  "hsl": {
    "h": 271.765,
    "s": 68,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64908,
    "c": 0.17895,
    "h": 306.5
  },
  "luminance": 0.24929
}

Semantic roles & 50–950 ramp

primary
#AB6CE3
secondary
#D4E9C2
accent
#D0166D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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