#AB6FFC#AB6FFC

#AB6FFC is a light, highly saturated violet. Relative luminance 0.271; OKLCH L 66.8% C 0.204 H 300.6°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AB6FFC
RGBrgb(171, 111, 252)
HSLhsl(266, 96%, 71%)
HSVhsv(266, 56%, 99%)
CMYKcmyk(32.1%, 56%, 0%, 1.2%)
CIE-LABlab(59.03, 51.45, -61.88)
CIE-LCHlch(59.03, 80.48, 309.74°)
OKLaboklab(66.85% 0.1037 -0.1751)
OKLCHoklch(66.85% 0.204 300.6)
XYZxyz(40.0455, 27.0549, 95.1889)
Luminance0.2706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FFC #C0FC6F
analogous
#6F79FC #AB6FFC #F16FFC
triadic
#AB6FFC #FCAB6F #6FFCAB
tetradic
#AB6FFC #FC6F79 #C0FC6F #6FFCF1
square
#AB6FFC #FC6F79 #C0FC6F #6FFCF1
split-complementary
#AB6FFC #FCF16F #79FC6F
monochromatic
#6705EC #8833FB #AB6FFC #CEABFD #EEE1FE

Accessibility & contrast

On white

3.28
#AB6FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#AB6FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6FFC
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6FFC#FFFFFF#000000##000000
##AB6FFC1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#308DFF
Deuteranopia (green-blind)
#488DF9
Tritanopia (blue-blind)
#9A8BAB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab6ffc;
/* rgb */ color: rgb(171, 111, 252);
/* oklch */ color: oklch(66.8% 0.204 300.6);
Tailwind
colors: {
  custom: {
    50: '#c89afe',
    500: '#ab6ffc',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ffc;
$custom-light: #c89afe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ffc",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 252
  },
  "hsl": {
    "h": 265.532,
    "s": 95.918,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66849,
    "c": 0.20352,
    "h": 300.6
  },
  "luminance": 0.27055
}

Semantic roles & 50–950 ramp

primary
#AB6FFC
secondary
#E6F6D1
accent
#E60084
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AB6FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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