#AB6FDE#AB6FDE

#AB6FDE is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.1% C 0.168 H 307.3°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AB6FDE
RGBrgb(171, 111, 222)
HSLhsl(272, 63%, 65%)
HSVhsv(272, 50%, 87%)
CMYKcmyk(23%, 50%, 0%, 12.9%)
CIE-LABlab(57.37, 44.39, -47.83)
CIE-LCHlch(57.37, 65.25, 312.86°)
OKLaboklab(65.09% 0.1021 -0.134)
OKLCHoklch(65.09% 0.168 307.3)
XYZxyz(35.6612, 25.3011, 72.0980)
Luminance0.2530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FDE #A2DE6F
analogous
#736FDE #AB6FDE #DE6FDA
triadic
#AB6FDE #DEAB6F #6FDEAB
tetradic
#AB6FDE #DE736F #A2DE6F #6FDADE
square
#AB6FDE #DE736F #A2DE6F #6FDADE
split-complementary
#AB6FDE #DADE6F #6FDE73
monochromatic
#6F27AB #8E3DD3 #AB6FDE #C8A1E9 #E5D3F5

Accessibility & contrast

On white

3.47
#AB6FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#AB6FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6FDE
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6FDE#FFFFFF#000000##000000
##AB6FDE1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5087E2
Deuteranopia (green-blind)
#618ADB
Tritanopia (blue-blind)
#A3829C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab6fde;
/* rgb */ color: rgb(171, 111, 222);
/* oklch */ color: oklch(65.1% 0.168 307.3);
Tailwind
colors: {
  custom: {
    50: '#c69ae9',
    500: '#ab6fde',
    950: '#000000',
  },
}
SCSS
$custom: #ab6fde;
$custom-light: #c69ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6fde",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 222
  },
  "hsl": {
    "h": 272.432,
    "s": 62.712,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6509,
    "c": 0.16843,
    "h": 307.3
  },
  "luminance": 0.25301
}

Semantic roles & 50–950 ramp

primary
#AB6FDE
secondary
#D3E7C2
accent
#CA1B6C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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