#AB4BCE#AB4BCE

#AB4BCE is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.2% C 0.205 H 315.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AB4BCE
RGBrgb(171, 75, 206)
HSLhsl(284, 57%, 55%)
HSVhsv(284, 64%, 81%)
CMYKcmyk(17%, 63.6%, 0%, 19.2%)
CIE-LABlab(49.67, 59.05, -50.99)
CIE-LCHlch(49.67, 78.02, 319.19°)
OKLaboklab(59.17% 0.1472 -0.143)
OKLCHoklch(59.17% 0.205 315.8)
XYZxyz(30.4495, 18.1474, 60.2794)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BCE #6ECE4B
analogous
#694BCE #AB4BCE #CE4BB0
triadic
#AB4BCE #CEAB4B #4BCEAB
tetradic
#AB4BCE #CE694B #6ECE4B #4BB0CE
square
#AB4BCE #CE694B #6ECE4B #4BB0CE
split-complementary
#AB4BCE #B0CE4B #4BCE69
monochromatic
#64227D #8B2FAD #AB4BCE #C17BDB #D8ABE8

Accessibility & contrast

On white

4.54
#AB4BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#AB4BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4BCE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BCE#FFFFFF#000000##000000
##AB4BCE1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1970D2
Deuteranopia (green-blind)
#4B79CB
Tritanopia (blue-blind)
#A96386
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab4bce;
/* rgb */ color: rgb(171, 75, 206);
/* oklch */ color: oklch(59.2% 0.205 315.8);
Tailwind
colors: {
  custom: {
    50: '#c783dd',
    500: '#ab4bce',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bce;
$custom-light: #c783dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bce",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 206
  },
  "hsl": {
    "h": 283.969,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59168,
    "c": 0.20528,
    "h": 315.8
  },
  "luminance": 0.18146
}

Semantic roles & 50–950 ramp

primary
#AB4BCE
secondary
#AED69F
accent
#E04770
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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