#AB6BEE#AB6BEE

#AB6BEE is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.4% C 0.193 H 304.1°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AB6BEE
RGBrgb(171, 107, 238)
HSLhsl(269, 79%, 68%)
HSVhsv(269, 55%, 93%)
CMYKcmyk(28.2%, 55%, 0%, 6.7%)
CIE-LABlab(57.41, 50.23, -56.71)
CIE-LCHlch(57.41, 75.75, 311.54°)
OKLaboklab(65.4% 0.1083 -0.1599)
OKLCHoklch(65.4% 0.193 304.1)
XYZxyz(37.4815, 25.3465, 83.7901)
Luminance0.2535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6BEE #AEEE6B
analogous
#6B6CEE #AB6BEE #ED6BEE
triadic
#AB6BEE #EEAB6B #6BEEAB
tetradic
#AB6BEE #EE6B6C #AEEE6B #6BEEED
square
#AB6BEE #EE6B6C #AEEE6B #6BEEED
split-complementary
#AB6BEE #EEED6B #6CEE6B
monochromatic
#6D17C8 #8C34E8 #AB6BEE #CAA2F4 #E9D9FB

Accessibility & contrast

On white

3.46
#AB6BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#AB6BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6BEE
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6BEE#FFFFFF#000000##000000
##AB6BEE1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A88F2
Deuteranopia (green-blind)
#508AEB
Tritanopia (blue-blind)
#9F84A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab6bee;
/* rgb */ color: rgb(171, 107, 238);
/* oklch */ color: oklch(65.4% 0.193 304.1);
Tailwind
colors: {
  custom: {
    50: '#c797f4',
    500: '#ab6bee',
    950: '#000000',
  },
}
SCSS
$custom: #ab6bee;
$custom-light: #c797f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6bee",
  "rgb": {
    "r": 171,
    "g": 107,
    "b": 238
  },
  "hsl": {
    "h": 269.313,
    "s": 79.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65403,
    "c": 0.19315,
    "h": 304.1
  },
  "luminance": 0.25346
}

Semantic roles & 50–950 ramp

primary
#AB6BEE
secondary
#DBEFC6
accent
#DC0A75
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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