#AB6EF1#AB6EF1

#AB6EF1 is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.0% C 0.192 H 303.0°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AB6EF1
RGBrgb(171, 110, 241)
HSLhsl(268, 82%, 69%)
HSVhsv(268, 54%, 95%)
CMYKcmyk(29%, 54.4%, 0%, 5.5%)
CIE-LABlab(58.19, 49.35, -57.13)
CIE-LCHlch(58.19, 75.49, 310.82°)
OKLaboklab(66.03% 0.1047 -0.1612)
OKLCHoklch(66.03% 0.192 303)
XYZxyz(38.2441, 26.1607, 86.2367)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EF1 #B4F16E
analogous
#6E73F1 #AB6EF1 #ED6EF1
triadic
#AB6EF1 #F1AB6E #6EF1AB
tetradic
#AB6EF1 #F16E73 #B4F16E #6EF1ED
square
#AB6EF1 #F16E73 #B4F16E #6EF1ED
split-complementary
#AB6EF1 #F1ED6E #73F16E
monochromatic
#6C14D0 #8B36EC #AB6EF1 #CBA6F6 #ECDEFC

Accessibility & contrast

On white

3.37
#AB6EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#AB6EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EF1
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EF1#FFFFFF#000000##000000
##AB6EF11.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8BF5
Deuteranopia (green-blind)
#518CEE
Tritanopia (blue-blind)
#9E87A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab6ef1;
/* rgb */ color: rgb(171, 110, 241);
/* oklch */ color: oklch(66.0% 0.192 303.0);
Tailwind
colors: {
  custom: {
    50: '#c799f6',
    500: '#ab6ef1',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ef1;
$custom-light: #c799f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ef1",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 241
  },
  "hsl": {
    "h": 267.939,
    "s": 82.39,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6603,
    "c": 0.19218,
    "h": 303
  },
  "luminance": 0.26161
}

Semantic roles & 50–950 ramp

primary
#AB6EF1
secondary
#DFF1CA
accent
#DF077A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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