#AB4EDB#AB4EDB

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

Color values

HEX#AB4EDB
RGBrgb(171, 78, 219)
HSLhsl(280, 66%, 58%)
HSVhsv(280, 64%, 86%)
CMYKcmyk(21.9%, 64.4%, 0%, 14.1%)
CIE-LABlab(50.95, 60.37, -56.37)
CIE-LCHlch(50.95, 82.60, 316.96°)
OKLaboklab(60.34% 0.1433 -0.1588)
OKLCHoklch(60.34% 0.214 312.1)
XYZxyz(32.3028, 19.2220, 69.0127)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4EDB #7EDB4E
analogous
#644EDB #AB4EDB #DB4EC5
triadic
#AB4EDB #DBAB4E #4EDBAB
tetradic
#AB4EDB #DB644E #7EDB4E #4EC5DB
square
#AB4EDB #DB644E #7EDB4E #4EC5DB
split-complementary
#AB4EDB #C5DB4E #4EDB64
monochromatic
#6A1E91 #8F28C4 #AB4EDB #C381E5 #DBB4F0

Accessibility & contrast

On white

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

On black

4.84
#AB4EDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4EDB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4EDB#FFFFFF#000000##000000
##AB4EDB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#427BD8
Tritanopia (blue-blind)
#A66A8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab4edb;
/* rgb */ color: rgb(171, 78, 219);
/* oklch */ color: oklch(60.3% 0.214 312.1);
Tailwind
colors: {
  custom: {
    50: '#c885e7',
    500: '#ab4edb',
    950: '#000000',
  },
}
SCSS
$custom: #ab4edb;
$custom-light: #c885e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4edb",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 219
  },
  "hsl": {
    "h": 279.574,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60335,
    "c": 0.21395,
    "h": 312.1
  },
  "luminance": 0.19221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB4EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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