#AB6EF6#AB6EF6

#AB6EF6 is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.3% C 0.198 H 302.0°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AB6EF6
RGBrgb(171, 110, 246)
HSLhsl(267, 88%, 70%)
HSVhsv(267, 55%, 96%)
CMYKcmyk(30.5%, 55.3%, 0%, 3.5%)
CIE-LABlab(58.47, 50.54, -59.45)
CIE-LCHlch(58.47, 78.03, 310.37°)
OKLaboklab(66.33% 0.1048 -0.168)
OKLCHoklch(66.33% 0.198 302)
XYZxyz(39.0012, 26.4635, 90.2242)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EF6 #B9F66E
analogous
#6E75F6 #AB6EF6 #EF6EF6
triadic
#AB6EF6 #F6AB6E #6EF6AB
tetradic
#AB6EF6 #F66E75 #B9F66E #6EF6EF
square
#AB6EF6 #F66E75 #B9F66E #6EF6EF
split-complementary
#AB6EF6 #F6EF6E #75F66E
monochromatic
#6A0EDC #8A34F2 #AB6EF6 #CCA8FA #EEE1FD

Accessibility & contrast

On white

3.34
#AB6EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#AB6EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EF6
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EF6#FFFFFF#000000##000000
##AB6EF61.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#368CFB
Deuteranopia (green-blind)
#4D8CF3
Tritanopia (blue-blind)
#9C89A8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab6ef6;
/* rgb */ color: rgb(171, 110, 246);
/* oklch */ color: oklch(66.3% 0.198 302.0);
Tailwind
colors: {
  custom: {
    50: '#c89afa',
    500: '#ab6ef6',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ef6;
$custom-light: #c89afa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ef6",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 246
  },
  "hsl": {
    "h": 266.912,
    "s": 88.312,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66332,
    "c": 0.19799,
    "h": 302
  },
  "luminance": 0.26464
}

Semantic roles & 50–950 ramp

primary
#AB6EF6
secondary
#E2F3CD
accent
#E5017F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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