#AB6FEB#AB6FEB

#AB6FEB is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.8% C 0.184 H 304.2°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AB6FEB
RGBrgb(171, 111, 235)
HSLhsl(269, 76%, 68%)
HSVhsv(269, 53%, 92%)
CMYKcmyk(27.2%, 52.8%, 0%, 7.8%)
CIE-LABlab(58.06, 47.40, -54.00)
CIE-LCHlch(58.06, 71.85, 311.28°)
OKLaboklab(65.83% 0.1031 -0.152)
OKLCHoklch(65.83% 0.184 304.2)
XYZxyz(37.4711, 26.0251, 81.6304)
Luminance0.2602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FEB #AFEB6F
analogous
#6F71EB #AB6FEB #E96FEB
triadic
#AB6FEB #EBAB6F #6FEBAB
tetradic
#AB6FEB #EB6F71 #AFEB6F #6FEBE9
square
#AB6FEB #EB6F71 #AFEB6F #6FEBE9
split-complementary
#AB6FEB #EBE96F #71EB6F
monochromatic
#6D1BC4 #8C39E4 #AB6FEB #CAA5F2 #EADAFA

Accessibility & contrast

On white

3.38
#AB6FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#AB6FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6FEB
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6FEB#FFFFFF#000000##000000
##AB6FEB1.003.386.206.20
#FFFFFF3.381.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#458AEF
Deuteranopia (green-blind)
#588CE8
Tritanopia (blue-blind)
#A086A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab6feb;
/* rgb */ color: rgb(171, 111, 235);
/* oklch */ color: oklch(65.8% 0.184 304.2);
Tailwind
colors: {
  custom: {
    50: '#c79af2',
    500: '#ab6feb',
    950: '#000000',
  },
}
SCSS
$custom: #ab6feb;
$custom-light: #c79af2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6feb",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 269.032,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65828,
    "c": 0.18368,
    "h": 304.2
  },
  "luminance": 0.26025
}

Semantic roles & 50–950 ramp

primary
#AB6FEB
secondary
#DCEEC8
accent
#D80E76
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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