#AB6ECD#AB6ECD

#AB6ECD is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.0% C 0.150 H 312.4°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AB6ECD
RGBrgb(171, 110, 205)
HSLhsl(279, 49%, 62%)
HSVhsv(279, 46%, 80%)
CMYKcmyk(16.6%, 46.3%, 0%, 19.6%)
CIE-LABlab(56.31, 41.13, -39.90)
CIE-LCHlch(56.31, 57.31, 315.87°)
OKLaboklab(64.02% 0.1014 -0.1109)
OKLCHoklch(64.02% 0.15 312.4)
XYZxyz(33.3881, 24.2183, 60.6615)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6ECD #90CD6E
analogous
#7C6ECD #AB6ECD #CD6EC0
triadic
#AB6ECD #CDAB6E #6ECDAB
tetradic
#AB6ECD #CD7C6E #90CD6E #6EC0CD
square
#AB6ECD #CD7C6E #90CD6E #6EC0CD
split-complementary
#AB6ECD #C0CD6E #6ECD7C
monochromatic
#6E318F #9041BD #AB6ECD #C59CDD #E0C9EC

Accessibility & contrast

On white

3.59
#AB6ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#AB6ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6ECD
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6ECD#FFFFFF#000000##000000
##AB6ECD1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84D0
Deuteranopia (green-blind)
#6A88CA
Tritanopia (blue-blind)
#A87D94
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab6ecd;
/* rgb */ color: rgb(171, 110, 205);
/* oklch */ color: oklch(64.0% 0.150 312.4);
Tailwind
colors: {
  custom: {
    50: '#c699dc',
    500: '#ab6ecd',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ecd;
$custom-light: #c699dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ecd",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 205
  },
  "hsl": {
    "h": 278.526,
    "s": 48.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64023,
    "c": 0.1503,
    "h": 312.4
  },
  "luminance": 0.24218
}

Semantic roles & 50–950 ramp

primary
#AB6ECD
secondary
#C6DDBA
accent
#BC295E
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB6ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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