#AB6EDA#AB6EDA

#AB6EDA is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.7% C 0.165 H 308.5°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AB6EDA
RGBrgb(171, 110, 218)
HSLhsl(274, 59%, 64%)
HSVhsv(274, 50%, 85%)
CMYKcmyk(21.6%, 49.5%, 0%, 14.5%)
CIE-LABlab(56.95, 44.02, -46.24)
CIE-LCHlch(56.95, 63.84, 313.59°)
OKLaboklab(64.71% 0.103 -0.1293)
OKLCHoklch(64.71% 0.165 308.5)
XYZxyz(35.0229, 24.8722, 69.2719)
Luminance0.2487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EDA #9DDA6E
analogous
#756EDA #AB6EDA #DA6ED3
triadic
#AB6EDA #DAAB6E #6EDAAB
tetradic
#AB6EDA #DA756E #9DDA6E #6ED3DA
square
#AB6EDA #DA756E #9DDA6E #6ED3DA
split-complementary
#AB6EDA #D3DA6E #6EDA75
monochromatic
#6F2AA4 #8F3DCE #AB6EDA #C79FE6 #E3D0F3

Accessibility & contrast

On white

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

On black

5.97
#AB6EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EDA
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EDA#FFFFFF#000000##000000
##AB6EDA1.003.515.975.97
#FFFFFF3.511.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5186DE
Deuteranopia (green-blind)
#638AD7
Tritanopia (blue-blind)
#A5809A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab6eda;
/* rgb */ color: rgb(171, 110, 218);
/* oklch */ color: oklch(64.7% 0.165 308.5);
Tailwind
colors: {
  custom: {
    50: '#c699e6',
    500: '#ab6eda',
    950: '#000000',
  },
}
SCSS
$custom: #ab6eda;
$custom-light: #c699e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6eda",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 218
  },
  "hsl": {
    "h": 273.889,
    "s": 59.341,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64713,
    "c": 0.16536,
    "h": 308.5
  },
  "luminance": 0.24872
}

Semantic roles & 50–950 ramp

primary
#AB6EDA
secondary
#CFE5BF
accent
#C71F68
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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