#AB6EDB#AB6EDB

#AB6EDB is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.8% C 0.167 H 308.3°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AB6EDB
RGBrgb(171, 110, 219)
HSLhsl(274, 60%, 65%)
HSVhsv(274, 50%, 86%)
CMYKcmyk(21.9%, 49.8%, 0%, 14.1%)
CIE-LABlab(57.00, 44.24, -46.72)
CIE-LCHlch(57.00, 64.34, 313.44°)
OKLaboklab(64.77% 0.1031 -0.1307)
OKLCHoklch(64.77% 0.167 308.3)
XYZxyz(35.1542, 24.9247, 69.9631)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EDB #9EDB6E
analogous
#756EDB #AB6EDB #DB6ED5
triadic
#AB6EDB #DBAB6E #6EDBAB
tetradic
#AB6EDB #DB756E #9EDB6E #6ED5DB
square
#AB6EDB #DB756E #9EDB6E #6ED5DB
split-complementary
#AB6EDB #D5DB6E #6EDB75
monochromatic
#6F29A6 #8F3DCF #AB6EDB #C79FE7 #E4D0F3

Accessibility & contrast

On white

3.51
#AB6EDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#AB6EDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EDB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EDB#FFFFFF#000000##000000
##AB6EDB1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5086DF
Deuteranopia (green-blind)
#628AD8
Tritanopia (blue-blind)
#A4819A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab6edb;
/* rgb */ color: rgb(171, 110, 219);
/* oklch */ color: oklch(64.8% 0.167 308.3);
Tailwind
colors: {
  custom: {
    50: '#c699e6',
    500: '#ab6edb',
    950: '#000000',
  },
}
SCSS
$custom: #ab6edb;
$custom-light: #c699e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6edb",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 219
  },
  "hsl": {
    "h": 273.578,
    "s": 60.221,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64768,
    "c": 0.16653,
    "h": 308.3
  },
  "luminance": 0.24924
}

Semantic roles & 50–950 ramp

primary
#AB6EDB
secondary
#D0E5C0
accent
#C81E69
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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