#AB6EF0#AB6EF0

#AB6EF0 is a light, vivid violet. Relative luminance 0.261; OKLCH L 66.0% C 0.191 H 303.2°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AB6EF0
RGBrgb(171, 110, 240)
HSLhsl(268, 81%, 69%)
HSVhsv(268, 54%, 94%)
CMYKcmyk(28.8%, 54.2%, 0%, 5.9%)
CIE-LABlab(58.13, 49.11, -56.67)
CIE-LCHlch(58.13, 74.99, 310.92°)
OKLaboklab(65.97% 0.1046 -0.1598)
OKLCHoklch(65.97% 0.191 303.2)
XYZxyz(38.0952, 26.1011, 85.4522)
Luminance0.2610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EF0 #B3F06E
analogous
#6E72F0 #AB6EF0 #EC6EF0
triadic
#AB6EF0 #F0AB6E #6EF0AB
tetradic
#AB6EF0 #F06E72 #B3F06E #6EF0EC
square
#AB6EF0 #F06E72 #B3F06E #6EF0EC
split-complementary
#AB6EF0 #F0EC6E #72F06E
monochromatic
#6C15CE #8B37EA #AB6EF0 #CBA5F6 #EBDDFB

Accessibility & contrast

On white

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

On black

6.22
#AB6EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EF0
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EF0#FFFFFF#000000##000000
##AB6EF01.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8AF4
Deuteranopia (green-blind)
#528CED
Tritanopia (blue-blind)
#9E87A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab6ef0;
/* rgb */ color: rgb(171, 110, 240);
/* oklch */ color: oklch(66.0% 0.191 303.2);
Tailwind
colors: {
  custom: {
    50: '#c799f5',
    500: '#ab6ef0',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ef0;
$custom-light: #c799f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ef0",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 240
  },
  "hsl": {
    "h": 268.154,
    "s": 81.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65971,
    "c": 0.19102,
    "h": 303.2
  },
  "luminance": 0.26101
}

Semantic roles & 50–950 ramp

primary
#AB6EF0
secondary
#DEF0CA
accent
#DE0879
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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