#AB4DF4#AB4DF4

#AB4DF4 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.9% C 0.240 H 306.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AB4DF4
RGBrgb(171, 77, 244)
HSLhsl(274, 88%, 63%)
HSVhsv(274, 68%, 96%)
CMYKcmyk(29.9%, 68.4%, 0%, 4.3%)
CIE-LABlab(52.40, 66.20, -68.12)
CIE-LCHlch(52.40, 94.99, 314.18°)
OKLaboklab(61.89% 0.1422 -0.1933)
OKLCHoklch(61.89% 0.24 306.3)
XYZxyz(35.7741, 20.4977, 87.6422)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DF4 #96F44D
analogous
#574DF4 #AB4DF4 #F44DEA
triadic
#AB4DF4 #F4AB4D #4DF4AB
tetradic
#AB4DF4 #F4574D #96F44D #4DEAF4
square
#AB4DF4 #F4574D #96F44D #4DEAF4
split-complementary
#AB4DF4 #EAF44D #4DF457
monochromatic
#6E0CBB #9013F0 #AB4DF4 #C687F8 #E1C0FB

Accessibility & contrast

On white

4.12
#AB4DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#AB4DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4DF4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DF4#FFFFFF#000000##000000
##AB4DF41.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF9
Deuteranopia (green-blind)
#147EF0
Tritanopia (blue-blind)
#9E739B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab4df4;
/* rgb */ color: rgb(171, 77, 244);
/* oklch */ color: oklch(61.9% 0.240 306.3);
Tailwind
colors: {
  custom: {
    50: '#c986f9',
    500: '#ab4df4',
    950: '#000000',
  },
}
SCSS
$custom: #ab4df4;
$custom-light: #c986f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4df4",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 244
  },
  "hsl": {
    "h": 273.772,
    "s": 88.36,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61886,
    "c": 0.23995,
    "h": 306.3
  },
  "luminance": 0.20497
}

Semantic roles & 50–950 ramp

primary
#AB4DF4
secondary
#CBECB0
accent
#E50164
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB4DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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