#AB6FF4#AB6FF4

#AB6FF4 is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.4% C 0.194 H 302.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AB6FF4
RGBrgb(171, 111, 244)
HSLhsl(267, 86%, 70%)
HSVhsv(267, 55%, 96%)
CMYKcmyk(29.9%, 54.5%, 0%, 4.3%)
CIE-LABlab(58.56, 49.53, -58.20)
CIE-LCHlch(58.56, 76.42, 310.40°)
OKLaboklab(66.36% 0.1035 -0.1643)
OKLCHoklch(66.36% 0.194 302.2)
XYZxyz(38.8044, 26.5584, 88.6524)
Luminance0.2656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FF4 #B8F46F
analogous
#6F76F4 #AB6FF4 #EE6FF4
triadic
#AB6FF4 #F4AB6F #6FF4AB
tetradic
#AB6FF4 #F46F76 #B8F46F #6FF4EE
square
#AB6FF4 #F46F76 #B8F46F #6FF4EE
split-complementary
#AB6FF4 #F4EE6F #76F46F
monochromatic
#6B11D8 #8A36F0 #AB6FF4 #CCA8F8 #EDE1FD

Accessibility & contrast

On white

3.33
#AB6FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#AB6FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6FF4
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6FF4#FFFFFF#000000##000000
##AB6FF41.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8CF8
Deuteranopia (green-blind)
#508CF1
Tritanopia (blue-blind)
#9D89A7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab6ff4;
/* rgb */ color: rgb(171, 111, 244);
/* oklch */ color: oklch(66.4% 0.194 302.2);
Tailwind
colors: {
  custom: {
    50: '#c89af8',
    500: '#ab6ff4',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ff4;
$custom-light: #c89af8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ff4",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 244
  },
  "hsl": {
    "h": 267.068,
    "s": 85.806,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66361,
    "c": 0.1942,
    "h": 302.2
  },
  "luminance": 0.26558
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB6FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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