#AB4FDC#AB4FDC

#AB4FDC is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.5% C 0.214 H 311.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AB4FDC
RGBrgb(171, 79, 220)
HSLhsl(279, 67%, 59%)
HSVhsv(279, 64%, 86%)
CMYKcmyk(22.3%, 64.1%, 0%, 13.7%)
CIE-LABlab(51.17, 60.12, -56.58)
CIE-LCHlch(51.17, 82.56, 316.74°)
OKLaboklab(60.52% 0.1422 -0.1594)
OKLCHoklch(60.52% 0.214 311.7)
XYZxyz(32.5065, 19.4180, 69.7319)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FDC #80DC4F
analogous
#644FDC #AB4FDC #DC4FC6
triadic
#AB4FDC #DCAB4F #4FDCAB
tetradic
#AB4FDC #DC644F #80DC4F #4FC6DC
square
#AB4FDC #DC644F #80DC4F #4FC6DC
split-complementary
#AB4FDC #C6DC4F #4FDC64
monochromatic
#6A1D93 #8F27C6 #AB4FDC #C382E6 #DCB5F0

Accessibility & contrast

On white

4.30
#AB4FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AB4FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4FDC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FDC#FFFFFF#000000##000000
##AB4FDC1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#427CD9
Tritanopia (blue-blind)
#A56B8F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab4fdc;
/* rgb */ color: rgb(171, 79, 220);
/* oklch */ color: oklch(60.5% 0.214 311.7);
Tailwind
colors: {
  custom: {
    50: '#c886e8',
    500: '#ab4fdc',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fdc;
$custom-light: #c886e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fdc",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 279.149,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60518,
    "c": 0.21361,
    "h": 311.7
  },
  "luminance": 0.19417
}

Semantic roles & 50–950 ramp

primary
#AB4FDC
secondary
#BBDFA8
accent
#EA3E7A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AB4FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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