#AB6CF7#AB6CF7

#AB6CF7 is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.1% C 0.202 H 302.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AB6CF7
RGBrgb(171, 108, 247)
HSLhsl(267, 90%, 70%)
HSVhsv(267, 56%, 97%)
CMYKcmyk(30.8%, 56.3%, 0%, 3.1%)
CIE-LABlab(58.13, 51.83, -60.55)
CIE-LCHlch(58.13, 79.71, 310.56°)
OKLaboklab(66.1% 0.1073 -0.1712)
OKLCHoklch(66.1% 0.202 302.1)
XYZxyz(38.9418, 26.0984, 90.9636)
Luminance0.2610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6CF7 #B8F76C
analogous
#6C73F7 #AB6CF7 #F06CF7
triadic
#AB6CF7 #F7AB6C #6CF7AB
tetradic
#AB6CF7 #F76C73 #B8F76C #6CF7F0
square
#AB6CF7 #F76C73 #B8F76C #6CF7F0
split-complementary
#AB6CF7 #F7F06C #73F76C
monochromatic
#6B0CDD #8A32F4 #AB6CF7 #CCA6FA #EDE0FD

Accessibility & contrast

On white

3.38
#AB6CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#AB6CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6CF7
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6CF7#FFFFFF#000000##000000
##AB6CF71.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#308BFC
Deuteranopia (green-blind)
#498BF4
Tritanopia (blue-blind)
#9C88A7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab6cf7;
/* rgb */ color: rgb(171, 108, 247);
/* oklch */ color: oklch(66.1% 0.202 302.1);
Tailwind
colors: {
  custom: {
    50: '#c898fa',
    500: '#ab6cf7',
    950: '#000000',
  },
}
SCSS
$custom: #ab6cf7;
$custom-light: #c898fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6cf7",
  "rgb": {
    "r": 171,
    "g": 108,
    "b": 247
  },
  "hsl": {
    "h": 267.194,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66098,
    "c": 0.20204,
    "h": 302.1
  },
  "luminance": 0.26098
}

Semantic roles & 50–950 ramp

primary
#AB6CF7
secondary
#E1F3CC
accent
#E6007D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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