#AB6FFA#AB6FFA

#AB6FFA is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 66.7% C 0.201 H 301.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AB6FFA
RGBrgb(171, 111, 250)
HSLhsl(266, 93%, 71%)
HSVhsv(266, 56%, 98%)
CMYKcmyk(31.6%, 55.6%, 0%, 2%)
CIE-LABlab(58.91, 50.97, -60.97)
CIE-LCHlch(58.91, 79.47, 309.90°)
OKLaboklab(66.73% 0.1037 -0.1724)
OKLCHoklch(66.73% 0.201 301)
XYZxyz(39.7303, 26.9288, 93.5286)
Luminance0.2693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FFA #BEFA6F
analogous
#6F78FA #AB6FFA #F06FFA
triadic
#AB6FFA #FAAB6F #6FFAAB
tetradic
#AB6FFA #FA6F78 #BEFA6F #6FFAF0
square
#AB6FFA #FA6F78 #BEFA6F #6FFAF0
split-complementary
#AB6FFA #FAF06F #78FA6F
monochromatic
#6808E7 #8834F8 #AB6FFA #CEAAFC #EEE1FE

Accessibility & contrast

On white

3.29
#AB6FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#AB6FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6FFA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6FFA#FFFFFF#000000##000000
##AB6FFA1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#338DFF
Deuteranopia (green-blind)
#4A8DF7
Tritanopia (blue-blind)
#9B8BAA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab6ffa;
/* rgb */ color: rgb(171, 111, 250);
/* oklch */ color: oklch(66.7% 0.201 301.0);
Tailwind
colors: {
  custom: {
    50: '#c89afd',
    500: '#ab6ffa',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ffa;
$custom-light: #c89afd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ffa",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 250
  },
  "hsl": {
    "h": 265.899,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66726,
    "c": 0.2012,
    "h": 301
  },
  "luminance": 0.26929
}

Semantic roles & 50–950 ramp

primary
#AB6FFA
secondary
#E5F5D0
accent
#E60082
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AB6FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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