#AB6FF2#AB6FF2

#AB6FF2 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.2% C 0.192 H 302.6°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AB6FF2
RGBrgb(171, 111, 242)
HSLhsl(267, 83%, 69%)
HSVhsv(267, 54%, 95%)
CMYKcmyk(29.3%, 54.1%, 0%, 5.1%)
CIE-LABlab(58.45, 49.05, -57.27)
CIE-LCHlch(58.45, 75.41, 310.58°)
OKLaboklab(66.24% 0.1035 -0.1616)
OKLCHoklch(66.24% 0.192 302.6)
XYZxyz(38.5024, 26.4376, 87.0617)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FF2 #B6F26F
analogous
#6F75F2 #AB6FF2 #ED6FF2
triadic
#AB6FF2 #F2AB6F #6FF2AB
tetradic
#AB6FF2 #F26F75 #B6F26F #6FF2ED
square
#AB6FF2 #F26F75 #B6F26F #6FF2ED
split-complementary
#AB6FF2 #F2ED6F #75F26F
monochromatic
#6B13D4 #8A37ED #AB6FF2 #CCA7F7 #ECDFFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB6FF2#FFFFFF#000000##000000
##AB6FF21.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)
#3E8BF6
Deuteranopia (green-blind)
#528CEF
Tritanopia (blue-blind)
#9E88A6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab6ff2;
/* rgb */ color: rgb(171, 111, 242);
/* oklch */ color: oklch(66.2% 0.192 302.6);
Tailwind
colors: {
  custom: {
    50: '#c79af7',
    500: '#ab6ff2',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ff2;
$custom-light: #c79af7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ff2",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 267.481,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66241,
    "c": 0.19186,
    "h": 302.6
  },
  "luminance": 0.26438
}

Semantic roles & 50–950 ramp

primary
#AB6FF2
secondary
#E0F1CB
accent
#E0067C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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