#AB6BEB#AB6BEB

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

Color values

HEX#AB6BEB
RGBrgb(171, 107, 235)
HSLhsl(270, 76%, 67%)
HSVhsv(270, 54%, 92%)
CMYKcmyk(27.2%, 54.5%, 0%, 7.8%)
CIE-LABlab(57.24, 49.53, -55.30)
CIE-LCHlch(57.24, 74.24, 311.85°)
OKLaboklab(65.22% 0.1082 -0.1558)
OKLCHoklch(65.22% 0.19 304.8)
XYZxyz(37.0444, 25.1717, 81.4882)
Luminance0.2517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6BEB #ABEB6B
analogous
#6B6BEB #AB6BEB #EB6BEB
triadic
#AB6BEB #EBAB6B #6BEBAB
tetradic
#AB6BEB #EB6B6B #ABEB6B #6BEBEB
square
#AB6BEB #EB6B6B #ABEB6B #6BEBEB
split-complementary
#AB6BEB #EBEB6B #6BEB6B
monochromatic
#6E1AC1 #8C35E4 #AB6BEB #CAA1F2 #E8D7FA

Accessibility & contrast

On white

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

On black

6.03
#AB6BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6BEB
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6BEB#FFFFFF#000000##000000
##AB6BEB1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D88EF
Deuteranopia (green-blind)
#538AE8
Tritanopia (blue-blind)
#A083A1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab6beb;
/* rgb */ color: rgb(171, 107, 235);
/* oklch */ color: oklch(65.2% 0.190 304.8);
Tailwind
colors: {
  custom: {
    50: '#c797f2',
    500: '#ab6beb',
    950: '#000000',
  },
}
SCSS
$custom: #ab6beb;
$custom-light: #c797f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6beb",
  "rgb": {
    "r": 171,
    "g": 107,
    "b": 235
  },
  "hsl": {
    "h": 270,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65224,
    "c": 0.1897,
    "h": 304.8
  },
  "luminance": 0.25171
}

Semantic roles & 50–950 ramp

primary
#AB6BEB
secondary
#D9EDC5
accent
#D80D73
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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