#AB6EF4#AB6EF4

#AB6EF4 is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.2% C 0.196 H 302.4°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AB6EF4
RGBrgb(171, 110, 244)
HSLhsl(267, 86%, 69%)
HSVhsv(267, 55%, 96%)
CMYKcmyk(29.9%, 54.9%, 0%, 4.3%)
CIE-LABlab(58.36, 50.06, -58.52)
CIE-LCHlch(58.36, 77.01, 310.54°)
OKLaboklab(66.21% 0.1048 -0.1652)
OKLCHoklch(66.21% 0.196 302.4)
XYZxyz(38.6959, 26.3414, 88.6162)
Luminance0.2634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EF4 #B7F46E
analogous
#6E74F4 #AB6EF4 #EE6EF4
triadic
#AB6EF4 #F4AB6E #6EF4AB
tetradic
#AB6EF4 #F46E74 #B7F46E #6EF4EE
square
#AB6EF4 #F46E74 #B7F46E #6EF4EE
split-complementary
#AB6EF4 #F4EE6E #74F46E
monochromatic
#6B10D7 #8A35F0 #AB6EF4 #CCA7F8 #EDE0FD

Accessibility & contrast

On white

3.35
#AB6EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#AB6EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EF4
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EF4#FFFFFF#000000##000000
##AB6EF41.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#398BF8
Deuteranopia (green-blind)
#4F8CF1
Tritanopia (blue-blind)
#9D88A7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab6ef4;
/* rgb */ color: rgb(171, 110, 244);
/* oklch */ color: oklch(66.2% 0.196 302.4);
Tailwind
colors: {
  custom: {
    50: '#c89af8',
    500: '#ab6ef4',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ef4;
$custom-light: #c89af8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ef4",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 244
  },
  "hsl": {
    "h": 267.313,
    "s": 85.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66211,
    "c": 0.19567,
    "h": 302.4
  },
  "luminance": 0.26341
}

Semantic roles & 50–950 ramp

primary
#AB6EF4
secondary
#E1F2CC
accent
#E2037D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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