#AB4BDF#AB4BDF

#AB4BDF is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.2% C 0.222 H 311.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AB4BDF
RGBrgb(171, 75, 223)
HSLhsl(279, 70%, 58%)
HSVhsv(279, 66%, 87%)
CMYKcmyk(23.3%, 66.4%, 0%, 12.5%)
CIE-LABlab(50.71, 62.56, -59.03)
CIE-LCHlch(50.71, 86.01, 316.66°)
OKLaboklab(60.24% 0.1464 -0.1666)
OKLCHoklch(60.24% 0.222 311.3)
XYZxyz(32.6275, 19.0186, 71.7499)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BDF #7FDF4B
analogous
#614BDF #AB4BDF #DF4BC9
triadic
#AB4BDF #DFAB4B #4BDFAB
tetradic
#AB4BDF #DF614B #7FDF4B #4BC9DF
square
#AB4BDF #DF614B #7FDF4B #4BC9DF
split-complementary
#AB4BDF #C9DF4B #4BDF61
monochromatic
#6A1B95 #8F24C9 #AB4BDF #C37FE8 #DBB3F1

Accessibility & contrast

On white

4.37
#AB4BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#AB4BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4BDF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BDF#FFFFFF#000000##000000
##AB4BDF1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#3A7BDC
Tritanopia (blue-blind)
#A5698F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab4bdf;
/* rgb */ color: rgb(171, 75, 223);
/* oklch */ color: oklch(60.2% 0.222 311.3);
Tailwind
colors: {
  custom: {
    50: '#c884ea',
    500: '#ab4bdf',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bdf;
$custom-light: #c884ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bdf",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 223
  },
  "hsl": {
    "h": 278.919,
    "s": 69.811,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60244,
    "c": 0.22178,
    "h": 311.3
  },
  "luminance": 0.19018
}

Semantic roles & 50–950 ramp

primary
#AB4BDF
secondary
#BAE0A6
accent
#ED3B7A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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