#AB6CF3#AB6CF3

#AB6CF3 is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.9% C 0.197 H 302.9°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AB6CF3
RGBrgb(171, 108, 243)
HSLhsl(268, 85%, 69%)
HSVhsv(268, 56%, 95%)
CMYKcmyk(29.6%, 55.6%, 0%, 4.7%)
CIE-LABlab(57.90, 50.88, -58.71)
CIE-LCHlch(57.90, 77.69, 310.92°)
OKLaboklab(65.85% 0.1072 -0.1658)
OKLCHoklch(65.85% 0.197 302.9)
XYZxyz(38.3311, 25.8541, 87.7476)
Luminance0.2585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6CF3 #B4F36C
analogous
#6C71F3 #AB6CF3 #EF6CF3
triadic
#AB6CF3 #F3AB6C #6CF3AB
tetradic
#AB6CF3 #F36C71 #B4F36C #6CF3EF
square
#AB6CF3 #F36C71 #B4F36C #6CF3EF
split-complementary
#AB6CF3 #F3EF6C #71F36C
monochromatic
#6C11D3 #8B33EE #AB6CF3 #CBA5F8 #ECDDFC

Accessibility & contrast

On white

3.40
#AB6CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#AB6CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6CF3
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6CF3#FFFFFF#000000##000000
##AB6CF31.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#368AF7
Deuteranopia (green-blind)
#4D8BF0
Tritanopia (blue-blind)
#9E86A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab6cf3;
/* rgb */ color: rgb(171, 108, 243);
/* oklch */ color: oklch(65.9% 0.197 302.9);
Tailwind
colors: {
  custom: {
    50: '#c898f8',
    500: '#ab6cf3',
    950: '#000000',
  },
}
SCSS
$custom: #ab6cf3;
$custom-light: #c898f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6cf3",
  "rgb": {
    "r": 171,
    "g": 108,
    "b": 243
  },
  "hsl": {
    "h": 268,
    "s": 84.906,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65853,
    "c": 0.19743,
    "h": 302.9
  },
  "luminance": 0.25854
}

Semantic roles & 50–950 ramp

primary
#AB6CF3
secondary
#DFF1C9
accent
#E1047A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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