#AB6FE4#AB6FE4

#AB6FE4 is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.4% C 0.175 H 305.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AB6FE4
RGBrgb(171, 111, 228)
HSLhsl(271, 68%, 66%)
HSVhsv(271, 51%, 89%)
CMYKcmyk(25%, 51.3%, 0%, 10.6%)
CIE-LABlab(57.68, 45.77, -50.69)
CIE-LCHlch(57.68, 68.29, 312.08°)
OKLaboklab(65.43% 0.1026 -0.1423)
OKLCHoklch(65.43% 0.175 305.8)
XYZxyz(36.4797, 25.6285, 76.4087)
Luminance0.2563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FE4 #A8E46F
analogous
#716FE4 #AB6FE4 #E46FE3
triadic
#AB6FE4 #E4AB6F #6FE4AB
tetradic
#AB6FE4 #E4716F #A8E46F #6FE3E4
square
#AB6FE4 #E4716F #A8E46F #6FE3E4
split-complementary
#AB6FE4 #E3E46F #6FE471
monochromatic
#6E22B6 #8D3BDA #AB6FE4 #C9A3EE #E7D6F7

Accessibility & contrast

On white

3.43
#AB6FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#AB6FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6FE4
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6FE4#FFFFFF#000000##000000
##AB6FE41.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B89E8
Deuteranopia (green-blind)
#5D8BE1
Tritanopia (blue-blind)
#A2849F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab6fe4;
/* rgb */ color: rgb(171, 111, 228);
/* oklch */ color: oklch(65.4% 0.175 305.8);
Tailwind
colors: {
  custom: {
    50: '#c79aed',
    500: '#ab6fe4',
    950: '#000000',
  },
}
SCSS
$custom: #ab6fe4;
$custom-light: #c79aed;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6fe4",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 228
  },
  "hsl": {
    "h": 270.769,
    "s": 68.421,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65426,
    "c": 0.17547,
    "h": 305.8
  },
  "luminance": 0.25628
}

Semantic roles & 50–950 ramp

primary
#AB6FE4
secondary
#D7EAC4
accent
#D01570
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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