#AB6EE3#AB6EE3

#AB6EE3 is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.2% C 0.176 H 306.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AB6EE3
RGBrgb(171, 110, 227)
HSLhsl(271, 68%, 66%)
HSVhsv(271, 52%, 89%)
CMYKcmyk(24.7%, 51.5%, 0%, 11%)
CIE-LABlab(57.42, 46.07, -50.55)
CIE-LCHlch(57.42, 68.39, 312.35°)
OKLaboklab(65.21% 0.1039 -0.1419)
OKLCHoklch(65.21% 0.176 306.2)
XYZxyz(36.2328, 25.3561, 75.6436)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EE3 #A6E36E
analogous
#706EE3 #AB6EE3 #E36EE0
triadic
#AB6EE3 #E3AB6E #6EE3AB
tetradic
#AB6EE3 #E3706E #A6E36E #6EE0E3
square
#AB6EE3 #E3706E #A6E36E #6EE0E3
split-complementary
#AB6EE3 #E0E36E #6EE370
monochromatic
#6E23B4 #8D3BD9 #AB6EE3 #C9A1ED #E6D5F7

Accessibility & contrast

On white

3.46
#AB6EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#AB6EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EE3
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EE3#FFFFFF#000000##000000
##AB6EE31.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A88E7
Deuteranopia (green-blind)
#5D8AE0
Tritanopia (blue-blind)
#A2839E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab6ee3;
/* rgb */ color: rgb(171, 110, 227);
/* oklch */ color: oklch(65.2% 0.176 306.2);
Tailwind
colors: {
  custom: {
    50: '#c799ec',
    500: '#ab6ee3',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ee3;
$custom-light: #c799ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ee3",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 227
  },
  "hsl": {
    "h": 271.282,
    "s": 67.63,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65214,
    "c": 0.17586,
    "h": 306.2
  },
  "luminance": 0.25356
}

Semantic roles & 50–950 ramp

primary
#AB6EE3
secondary
#D6EAC3
accent
#D0166F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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