#AB4BDC#AB4BDC

#AB4BDC is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.0% C 0.219 H 312.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AB4BDC
RGBrgb(171, 75, 220)
HSLhsl(280, 67%, 58%)
HSVhsv(280, 66%, 86%)
CMYKcmyk(22.3%, 65.9%, 0%, 13.7%)
CIE-LABlab(50.52, 61.93, -57.63)
CIE-LCHlch(50.52, 84.59, 317.06°)
OKLaboklab(60.05% 0.1466 -0.1625)
OKLCHoklch(60.05% 0.219 312.1)
XYZxyz(32.2266, 18.8582, 69.6386)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BDC #7CDC4B
analogous
#624BDC #AB4BDC #DC4BC5
triadic
#AB4BDC #DCAB4B #4BDCAB
tetradic
#AB4BDC #DC624B #7CDC4B #4BC5DC
square
#AB4BDC #DC624B #7CDC4B #4BC5DC
split-complementary
#AB4BDC #C5DC4B #4BDC62
monochromatic
#691C91 #8E26C4 #AB4BDC #C37EE6 #DBB1F0

Accessibility & contrast

On white

4.40
#AB4BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#AB4BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4BDC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BDC#FFFFFF#000000##000000
##AB4BDC1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#3D7AD9
Tritanopia (blue-blind)
#A5688D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab4bdc;
/* rgb */ color: rgb(171, 75, 220);
/* oklch */ color: oklch(60.0% 0.219 312.1);
Tailwind
colors: {
  custom: {
    50: '#c884e8',
    500: '#ab4bdc',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bdc;
$custom-light: #c884e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bdc",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 220
  },
  "hsl": {
    "h": 279.724,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60049,
    "c": 0.21885,
    "h": 312.1
  },
  "luminance": 0.18857
}

Semantic roles & 50–950 ramp

primary
#AB4BDC
secondary
#B8DEA4
accent
#EA3D78
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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