#AB6EDE#AB6EDE

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

Color values

HEX#AB6EDE
RGBrgb(171, 110, 222)
HSLhsl(273, 63%, 65%)
HSVhsv(273, 50%, 87%)
CMYKcmyk(23%, 50.5%, 0%, 12.9%)
CIE-LABlab(57.16, 44.93, -48.16)
CIE-LCHlch(57.16, 65.86, 313.01°)
OKLaboklab(64.93% 0.1034 -0.1349)
OKLCHoklch(64.93% 0.17 307.5)
XYZxyz(35.5527, 25.0841, 72.0619)
Luminance0.2508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EDE #A1DE6E
analogous
#736EDE #AB6EDE #DE6ED9
triadic
#AB6EDE #DEAB6E #6EDEAB
tetradic
#AB6EDE #DE736E #A1DE6E #6ED9DE
square
#AB6EDE #DE736E #A1DE6E #6ED9DE
split-complementary
#AB6EDE #D9DE6E #6EDE73
monochromatic
#6F27AB #8E3CD3 #AB6EDE #C8A0E9 #E5D2F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB6EDE#FFFFFF#000000##000000
##AB6EDE1.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)
#4E87E2
Deuteranopia (green-blind)
#608ADB
Tritanopia (blue-blind)
#A4819C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab6ede;
/* rgb */ color: rgb(171, 110, 222);
/* oklch */ color: oklch(64.9% 0.170 307.5);
Tailwind
colors: {
  custom: {
    50: '#c699e9',
    500: '#ab6ede',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ede;
$custom-light: #c699e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ede",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 222
  },
  "hsl": {
    "h": 272.679,
    "s": 62.921,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64934,
    "c": 0.17002,
    "h": 307.5
  },
  "luminance": 0.25084
}

Semantic roles & 50–950 ramp

primary
#AB6EDE
secondary
#D2E7C1
accent
#CB1B6B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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