#AB6BE8#AB6BE8

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

Color values

HEX#AB6BE8
RGBrgb(171, 107, 232)
HSLhsl(271, 73%, 66%)
HSVhsv(271, 54%, 91%)
CMYKcmyk(26.3%, 53.9%, 0%, 9%)
CIE-LABlab(57.08, 48.83, -53.89)
CIE-LCHlch(57.08, 72.73, 312.18°)
OKLaboklab(65.05% 0.1081 -0.1517)
OKLCHoklch(65.05% 0.186 305.5)
XYZxyz(36.6147, 24.9998, 79.2248)
Luminance0.2500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6BE8 #A8E86B
analogous
#6D6BE8 #AB6BE8 #E86BE6
triadic
#AB6BE8 #E8AB6B #6BE8AB
tetradic
#AB6BE8 #E86D6B #A8E86B #6BE6E8
square
#AB6BE8 #E86D6B #A8E86B #6BE6E8
split-complementary
#AB6BE8 #E6E86B #6BE86D
monochromatic
#6E1DBB #8D36E0 #AB6BE8 #C9A0F0 #E7D5F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB6BE8#FFFFFF#000000##000000
##AB6BE81.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)
#4087EC
Deuteranopia (green-blind)
#5689E5
Tritanopia (blue-blind)
#A1829F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab6be8;
/* rgb */ color: rgb(171, 107, 232);
/* oklch */ color: oklch(65.0% 0.186 305.5);
Tailwind
colors: {
  custom: {
    50: '#c797f0',
    500: '#ab6be8',
    950: '#000000',
  },
}
SCSS
$custom: #ab6be8;
$custom-light: #c797f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6be8",
  "rgb": {
    "r": 171,
    "g": 107,
    "b": 232
  },
  "hsl": {
    "h": 270.72,
    "s": 73.099,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65047,
    "c": 0.18625,
    "h": 305.5
  },
  "luminance": 0.25
}

Semantic roles & 50–950 ramp

primary
#AB6BE8
secondary
#D7ECC3
accent
#D51070
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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