#AB6FF3#AB6FF3

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

Color values

HEX#AB6FF3
RGBrgb(171, 111, 243)
HSLhsl(267, 85%, 69%)
HSVhsv(267, 54%, 95%)
CMYKcmyk(29.6%, 54.3%, 0%, 4.7%)
CIE-LABlab(58.51, 49.29, -57.73)
CIE-LCHlch(58.51, 75.91, 310.49°)
OKLaboklab(66.3% 0.1035 -0.1629)
OKLCHoklch(66.3% 0.193 302.4)
XYZxyz(38.6530, 26.4978, 87.8549)
Luminance0.2650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FF3 #B7F36F
analogous
#6F75F3 #AB6FF3 #ED6FF3
triadic
#AB6FF3 #F3AB6F #6FF3AB
tetradic
#AB6FF3 #F36F75 #B7F36F #6FF3ED
square
#AB6FF3 #F36F75 #B7F36F #6FF3ED
split-complementary
#AB6FF3 #F3ED6F #75F36F
monochromatic
#6B12D6 #8A37EE #AB6FF3 #CCA7F8 #EDE0FC

Accessibility & contrast

On white

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

On black

6.30
#AB6FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6FF3
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6FF3#FFFFFF#000000##000000
##AB6FF31.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8CF7
Deuteranopia (green-blind)
#518CF0
Tritanopia (blue-blind)
#9D89A7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab6ff3;
/* rgb */ color: rgb(171, 111, 243);
/* oklch */ color: oklch(66.3% 0.193 302.4);
Tailwind
colors: {
  custom: {
    50: '#c79af8',
    500: '#ab6ff3',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ff3;
$custom-light: #c79af8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ff3",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 243
  },
  "hsl": {
    "h": 267.273,
    "s": 84.615,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66301,
    "c": 0.19303,
    "h": 302.4
  },
  "luminance": 0.26498
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB6FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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