#AB6DE2#AB6DE2

#AB6DE2 is a light, vivid violet. Relative luminance 0.251; OKLCH L 65.0% C 0.176 H 306.6°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AB6DE2
RGBrgb(171, 109, 226)
HSLhsl(272, 67%, 66%)
HSVhsv(272, 52%, 89%)
CMYKcmyk(24.3%, 51.8%, 0%, 11.4%)
CIE-LABlab(57.16, 46.38, -50.40)
CIE-LCHlch(57.16, 68.49, 312.62°)
OKLaboklab(65% 0.1051 -0.1415)
OKLCHoklch(65% 0.176 306.6)
XYZxyz(35.9879, 25.0865, 74.8831)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6DE2 #A4E26D
analogous
#706DE2 #AB6DE2 #E26DDE
triadic
#AB6DE2 #E2AB6D #6DE2AB
tetradic
#AB6DE2 #E2706D #A4E26D #6DDEE2
square
#AB6DE2 #E2706D #A4E26D #6DDEE2
split-complementary
#AB6DE2 #DEE26D #6DE270
monochromatic
#6F23B1 #8E3AD8 #AB6DE2 #C8A0EC #E6D3F6

Accessibility & contrast

On white

3.49
#AB6DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#AB6DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6DE2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6DE2#FFFFFF#000000##000000
##AB6DE21.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4987E6
Deuteranopia (green-blind)
#5C8ADF
Tritanopia (blue-blind)
#A2829D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab6de2;
/* rgb */ color: rgb(171, 109, 226);
/* oklch */ color: oklch(65.0% 0.176 306.6);
Tailwind
colors: {
  custom: {
    50: '#c799eb',
    500: '#ab6de2',
    950: '#000000',
  },
}
SCSS
$custom: #ab6de2;
$custom-light: #c799eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6de2",
  "rgb": {
    "r": 171,
    "g": 109,
    "b": 226
  },
  "hsl": {
    "h": 271.795,
    "s": 66.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65004,
    "c": 0.17625,
    "h": 306.6
  },
  "luminance": 0.25086
}

Semantic roles & 50–950 ramp

primary
#AB6DE2
secondary
#D4E9C2
accent
#CF176D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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