#AB4BDE#AB4BDE

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

Color values

HEX#AB4BDE
RGBrgb(171, 75, 222)
HSLhsl(279, 69%, 58%)
HSVhsv(279, 66%, 87%)
CMYKcmyk(23%, 66.2%, 0%, 12.9%)
CIE-LABlab(50.65, 62.35, -58.56)
CIE-LCHlch(50.65, 85.53, 316.79°)
OKLaboklab(60.18% 0.1465 -0.1652)
OKLCHoklch(60.18% 0.221 311.6)
XYZxyz(32.4930, 18.9648, 71.0420)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BDE #7EDE4B
analogous
#614BDE #AB4BDE #DE4BC7
triadic
#AB4BDE #DEAB4B #4BDEAB
tetradic
#AB4BDE #DE614B #7EDE4B #4BC7DE
square
#AB4BDE #DE614B #7EDE4B #4BC7DE
split-complementary
#AB4BDE #C7DE4B #4BDE61
monochromatic
#6A1B94 #8F25C7 #AB4BDE #C37FE7 #DBB2F1

Accessibility & contrast

On white

4.38
#AB4BDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#AB4BDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4BDE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BDE#FFFFFF#000000##000000
##AB4BDE1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#3B7ADB
Tritanopia (blue-blind)
#A5698E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab4bde;
/* rgb */ color: rgb(171, 75, 222);
/* oklch */ color: oklch(60.2% 0.221 311.6);
Tailwind
colors: {
  custom: {
    50: '#c884e9',
    500: '#ab4bde',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bde;
$custom-light: #c884e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bde",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 222
  },
  "hsl": {
    "h": 279.184,
    "s": 69.014,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60178,
    "c": 0.2208,
    "h": 311.6
  },
  "luminance": 0.18964
}

Semantic roles & 50–950 ramp

primary
#AB4BDE
secondary
#B9E0A5
accent
#EC3C79
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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