#AB6CF8#AB6CF8

#AB6CF8 is a light, highly saturated violet. Relative luminance 0.262; OKLCH L 66.2% C 0.203 H 301.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AB6CF8
RGBrgb(171, 108, 248)
HSLhsl(267, 91%, 70%)
HSVhsv(267, 56%, 97%)
CMYKcmyk(31%, 56.5%, 0%, 2.7%)
CIE-LABlab(58.19, 52.07, -61.01)
CIE-LCHlch(58.19, 80.21, 310.48°)
OKLaboklab(66.16% 0.1073 -0.1725)
OKLCHoklch(66.16% 0.203 301.9)
XYZxyz(39.0965, 26.1603, 91.7784)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6CF8 #B9F86C
analogous
#6C73F8 #AB6CF8 #F16CF8
triadic
#AB6CF8 #F8AB6C #6CF8AB
tetradic
#AB6CF8 #F86C73 #B9F86C #6CF8F1
square
#AB6CF8 #F86C73 #B9F86C #6CF8F1
split-complementary
#AB6CF8 #F8F16C #73F86C
monochromatic
#6A0BDF #8A32F5 #AB6CF8 #CCA6FB #EEE1FE

Accessibility & contrast

On white

3.37
#AB6CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#AB6CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6CF8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6CF8#FFFFFF#000000##000000
##AB6CF81.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8BFD
Deuteranopia (green-blind)
#488BF5
Tritanopia (blue-blind)
#9C88A8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab6cf8;
/* rgb */ color: rgb(171, 108, 248);
/* oklch */ color: oklch(66.2% 0.203 301.9);
Tailwind
colors: {
  custom: {
    50: '#c898fb',
    500: '#ab6cf8',
    950: '#000000',
  },
}
SCSS
$custom: #ab6cf8;
$custom-light: #c898fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6cf8",
  "rgb": {
    "r": 171,
    "g": 108,
    "b": 248
  },
  "hsl": {
    "h": 267,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6616,
    "c": 0.20319,
    "h": 301.9
  },
  "luminance": 0.2616
}

Semantic roles & 50–950 ramp

primary
#AB6CF8
secondary
#E2F4CC
accent
#E6007E
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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