#AB4EDA#AB4EDA

#AB4EDA is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.3% C 0.213 H 312.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AB4EDA
RGBrgb(171, 78, 218)
HSLhsl(280, 65%, 58%)
HSVhsv(280, 64%, 85%)
CMYKcmyk(21.6%, 64.2%, 0%, 14.5%)
CIE-LABlab(50.88, 60.16, -55.90)
CIE-LCHlch(50.88, 82.12, 317.10°)
OKLaboklab(60.27% 0.1434 -0.1574)
OKLCHoklch(60.27% 0.213 312.3)
XYZxyz(32.1716, 19.1695, 68.3214)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4EDA #7DDA4E
analogous
#654EDA #AB4EDA #DA4EC3
triadic
#AB4EDA #DAAB4E #4EDAAB
tetradic
#AB4EDA #DA654E #7DDA4E #4EC3DA
square
#AB4EDA #DA654E #7DDA4E #4EC3DA
split-complementary
#AB4EDA #C3DA4E #4EDA65
monochromatic
#691E90 #8F29C2 #AB4EDA #C381E5 #DBB3EF

Accessibility & contrast

On white

4.34
#AB4EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#AB4EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4EDA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4EDA#FFFFFF#000000##000000
##AB4EDA1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#437BD7
Tritanopia (blue-blind)
#A6698D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab4eda;
/* rgb */ color: rgb(171, 78, 218);
/* oklch */ color: oklch(60.3% 0.213 312.3);
Tailwind
colors: {
  custom: {
    50: '#c885e6',
    500: '#ab4eda',
    950: '#000000',
  },
}
SCSS
$custom: #ab4eda;
$custom-light: #c885e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4eda",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 218
  },
  "hsl": {
    "h": 279.857,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60271,
    "c": 0.21296,
    "h": 312.3
  },
  "luminance": 0.19169
}

Semantic roles & 50–950 ramp

primary
#AB4EDA
secondary
#B9DEA6
accent
#E83F78
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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