#AB4FDA#AB4FDA

#AB4FDA is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.4% C 0.212 H 312.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AB4FDA
RGBrgb(171, 79, 218)
HSLhsl(280, 65%, 58%)
HSVhsv(280, 64%, 85%)
CMYKcmyk(21.6%, 63.8%, 0%, 14.5%)
CIE-LABlab(51.05, 59.70, -55.64)
CIE-LCHlch(51.05, 81.61, 317.02°)
OKLaboklab(60.39% 0.1422 -0.1567)
OKLCHoklch(60.39% 0.212 312.2)
XYZxyz(32.2432, 19.3127, 68.3453)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FDA #7EDA4F
analogous
#654FDA #AB4FDA #DA4FC3
triadic
#AB4FDA #DAAB4F #4FDAAB
tetradic
#AB4FDA #DA654F #7EDA4F #4FC3DA
square
#AB4FDA #DA654F #7EDA4F #4FC3DA
split-complementary
#AB4FDA #C3DA4F #4FDA65
monochromatic
#6A1E90 #8F29C3 #AB4FDA #C382E5 #DBB4EF

Accessibility & contrast

On white

4.32
#AB4FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#AB4FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4FDA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FDA#FFFFFF#000000##000000
##AB4FDA1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0275DE
Deuteranopia (green-blind)
#447CD7
Tritanopia (blue-blind)
#A66A8E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab4fda;
/* rgb */ color: rgb(171, 79, 218);
/* oklch */ color: oklch(60.4% 0.212 312.2);
Tailwind
colors: {
  custom: {
    50: '#c886e6',
    500: '#ab4fda',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fda;
$custom-light: #c886e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fda",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 279.712,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60391,
    "c": 0.21161,
    "h": 312.2
  },
  "luminance": 0.19312
}

Semantic roles & 50–950 ramp

primary
#AB4FDA
secondary
#B9DEA7
accent
#E84079
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB4FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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