#AB6EFE#AB6EFE

#AB6EFE is a light, highly saturated violet. Relative luminance 0.270; OKLCH L 66.8% C 0.207 H 300.4°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AB6EFE
RGBrgb(171, 110, 254)
HSLhsl(265, 99%, 71%)
HSVhsv(265, 57%, 100%)
CMYKcmyk(32.7%, 56.7%, 0%, 0.4%)
CIE-LABlab(58.94, 52.46, -63.12)
CIE-LCHlch(58.94, 82.08, 309.73°)
OKLaboklab(66.83% 0.1049 -0.1787)
OKLCHoklch(66.83% 0.207 300.4)
XYZxyz(40.2556, 26.9653, 96.8307)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EFE #C1FE6E
analogous
#6E79FE #AB6EFE #F36EFE
triadic
#AB6EFE #FEAB6E #6EFEAB
tetradic
#AB6EFE #FE6E79 #C1FE6E #6EFEF3
square
#AB6EFE #FE6E79 #C1FE6E #6EFEF3
split-complementary
#AB6EFE #FEF36E #79FE6E
monochromatic
#6702F0 #8831FE #AB6EFE #CEABFE #EDE1FF

Accessibility & contrast

On white

3.28
#AB6EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#AB6EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EFE
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EFE#FFFFFF#000000##000000
##AB6EFE1.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A8DFF
Deuteranopia (green-blind)
#448DFB
Tritanopia (blue-blind)
#9A8BAC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab6efe;
/* rgb */ color: rgb(171, 110, 254);
/* oklch */ color: oklch(66.8% 0.207 300.4);
Tailwind
colors: {
  custom: {
    50: '#c89aff',
    500: '#ab6efe',
    950: '#000000',
  },
}
SCSS
$custom: #ab6efe;
$custom-light: #c89aff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6efe",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 254
  },
  "hsl": {
    "h": 265.417,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66826,
    "c": 0.20726,
    "h": 300.4
  },
  "luminance": 0.26966
}

Semantic roles & 50–950 ramp

primary
#AB6EFE
secondary
#E7F7D1
accent
#E60084
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AB6EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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