#AB6CFC#AB6CFC

#AB6CFC is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.4% C 0.208 H 301.1°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AB6CFC
RGBrgb(171, 108, 252)
HSLhsl(266, 96%, 71%)
HSVhsv(266, 57%, 99%)
CMYKcmyk(32.1%, 57.1%, 0%, 1.2%)
CIE-LABlab(58.43, 53.03, -62.85)
CIE-LCHlch(58.43, 82.23, 310.16°)
OKLaboklab(66.41% 0.1073 -0.1779)
OKLCHoklch(66.41% 0.208 301.1)
XYZxyz(39.7237, 26.4111, 95.0817)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6CFC #BDFC6C
analogous
#6C75FC #AB6CFC #F36CFC
triadic
#AB6CFC #FCAB6C #6CFCAB
tetradic
#AB6CFC #FC6C75 #BDFC6C #6CFCF3
square
#AB6CFC #FC6C75 #BDFC6C #6CFCF3
split-complementary
#AB6CFC #FCF36C #75FC6C
monochromatic
#6905E9 #8930FB #AB6CFC #CDA8FD #EEE1FE

Accessibility & contrast

On white

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

On black

6.28
#AB6CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6CFC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6CFC#FFFFFF#000000##000000
##AB6CFC1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#278CFF
Deuteranopia (green-blind)
#438CF9
Tritanopia (blue-blind)
#9B89AA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab6cfc;
/* rgb */ color: rgb(171, 108, 252);
/* oklch */ color: oklch(66.4% 0.208 301.1);
Tailwind
colors: {
  custom: {
    50: '#c898fe',
    500: '#ab6cfc',
    950: '#000000',
  },
}
SCSS
$custom: #ab6cfc;
$custom-light: #c898fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6cfc",
  "rgb": {
    "r": 171,
    "g": 108,
    "b": 252
  },
  "hsl": {
    "h": 266.25,
    "s": 96,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66409,
    "c": 0.20779,
    "h": 301.1
  },
  "luminance": 0.26411
}

Semantic roles & 50–950 ramp

primary
#AB6CFC
secondary
#E4F5CE
accent
#E60081
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AB6CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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