#AB6CF2#AB6CF2

#AB6CF2 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.8% C 0.196 H 303.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AB6CF2
RGBrgb(171, 108, 242)
HSLhsl(268, 84%, 69%)
HSVhsv(268, 55%, 95%)
CMYKcmyk(29.3%, 55.4%, 0%, 5.1%)
CIE-LABlab(57.84, 50.65, -58.24)
CIE-LCHlch(57.84, 77.18, 311.01°)
OKLaboklab(65.79% 0.1072 -0.1644)
OKLCHoklch(65.79% 0.196 303.1)
XYZxyz(38.1805, 25.7939, 86.9545)
Luminance0.2579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6CF2 #B3F26C
analogous
#6C70F2 #AB6CF2 #EE6CF2
triadic
#AB6CF2 #F2AB6C #6CF2AB
tetradic
#AB6CF2 #F26C70 #B3F26C #6CF2EE
square
#AB6CF2 #F26C70 #B3F26C #6CF2EE
split-complementary
#AB6CF2 #F2EE6C #70F26C
monochromatic
#6C12D1 #8B34ED #AB6CF2 #CBA4F7 #EBDCFC

Accessibility & contrast

On white

3.41
#AB6CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#AB6CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6CF2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6CF2#FFFFFF#000000##000000
##AB6CF21.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#378AF6
Deuteranopia (green-blind)
#4E8BEF
Tritanopia (blue-blind)
#9E86A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab6cf2;
/* rgb */ color: rgb(171, 108, 242);
/* oklch */ color: oklch(65.8% 0.196 303.1);
Tailwind
colors: {
  custom: {
    50: '#c898f7',
    500: '#ab6cf2',
    950: '#000000',
  },
}
SCSS
$custom: #ab6cf2;
$custom-light: #c898f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6cf2",
  "rgb": {
    "r": 171,
    "g": 108,
    "b": 242
  },
  "hsl": {
    "h": 268.209,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65792,
    "c": 0.19628,
    "h": 303.1
  },
  "luminance": 0.25794
}

Semantic roles & 50–950 ramp

primary
#AB6CF2
secondary
#DEF1C9
accent
#E00579
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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