#AB4FE0#AB4FE0

#AB4FE0 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.8% C 0.218 H 310.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AB4FE0
RGBrgb(171, 79, 224)
HSLhsl(278, 70%, 59%)
HSVhsv(278, 65%, 88%)
CMYKcmyk(23.7%, 64.7%, 0%, 12.2%)
CIE-LABlab(51.42, 60.97, -58.45)
CIE-LCHlch(51.42, 84.46, 316.21°)
OKLaboklab(60.77% 0.1419 -0.1649)
OKLCHoklch(60.77% 0.218 310.7)
XYZxyz(33.0426, 19.6324, 72.5554)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FE0 #84E04F
analogous
#634FE0 #AB4FE0 #E04FCC
triadic
#AB4FE0 #E0AB4F #4FE0AB
tetradic
#AB4FE0 #E0634F #84E04F #4FCCE0
square
#AB4FE0 #E0634F #84E04F #4FCCE0
split-complementary
#AB4FE0 #CCE04F #4FE063
monochromatic
#6B1B9A #9024CE #AB4FE0 #C483E9 #DDB7F2

Accessibility & contrast

On white

4.26
#AB4FE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#AB4FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4FE0
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FE0#FFFFFF#000000##000000
##AB4FE01.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E4
Deuteranopia (green-blind)
#3D7CDD
Tritanopia (blue-blind)
#A46C91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab4fe0;
/* rgb */ color: rgb(171, 79, 224);
/* oklch */ color: oklch(60.8% 0.218 310.7);
Tailwind
colors: {
  custom: {
    50: '#c886ea',
    500: '#ab4fe0',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fe0;
$custom-light: #c886ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fe0",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 224
  },
  "hsl": {
    "h": 278.069,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60774,
    "c": 0.21759,
    "h": 310.7
  },
  "luminance": 0.19632
}

Semantic roles & 50–950 ramp

primary
#AB4FE0
secondary
#BEE2A9
accent
#ED3B7C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AB4FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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