#AB6DE7#AB6DE7

#AB6DE7 is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.3% C 0.182 H 305.4°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AB6DE7
RGBrgb(171, 109, 231)
HSLhsl(270, 72%, 67%)
HSVhsv(270, 53%, 91%)
CMYKcmyk(26%, 52.8%, 0%, 9.4%)
CIE-LABlab(57.43, 47.53, -52.77)
CIE-LCHlch(57.43, 71.02, 312.01°)
OKLaboklab(65.29% 0.1055 -0.1484)
OKLCHoklch(65.29% 0.182 305.4)
XYZxyz(36.6840, 25.3650, 78.5492)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6DE7 #A9E76D
analogous
#6E6DE7 #AB6DE7 #E76DE6
triadic
#AB6DE7 #E7AB6D #6DE7AB
tetradic
#AB6DE7 #E76E6D #A9E76D #6DE6E7
square
#AB6DE7 #E76E6D #A9E76D #6DE6E7
split-complementary
#AB6DE7 #E6E76D #6DE76E
monochromatic
#6E1FBB #8D38DE #AB6DE7 #C9A2F0 #E7D6F8

Accessibility & contrast

On white

3.46
#AB6DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#AB6DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6DE7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6DE7#FFFFFF#000000##000000
##AB6DE71.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4588EB
Deuteranopia (green-blind)
#598AE4
Tritanopia (blue-blind)
#A183A0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab6de7;
/* rgb */ color: rgb(171, 109, 231);
/* oklch */ color: oklch(65.3% 0.182 305.4);
Tailwind
colors: {
  custom: {
    50: '#c799ef',
    500: '#ab6de7',
    950: '#000000',
  },
}
SCSS
$custom: #ab6de7;
$custom-light: #c799ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6de7",
  "rgb": {
    "r": 171,
    "g": 109,
    "b": 231
  },
  "hsl": {
    "h": 270.492,
    "s": 71.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65291,
    "c": 0.18205,
    "h": 305.4
  },
  "luminance": 0.25365
}

Semantic roles & 50–950 ramp

primary
#AB6DE7
secondary
#D8ECC4
accent
#D41271
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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