#AB4BCF#AB4BCF

#AB4BCF is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.2% C 0.206 H 315.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AB4BCF
RGBrgb(171, 75, 207)
HSLhsl(284, 58%, 55%)
HSVhsv(284, 64%, 81%)
CMYKcmyk(17.4%, 63.8%, 0%, 18.8%)
CIE-LABlab(49.73, 59.25, -51.47)
CIE-LCHlch(49.73, 78.48, 319.02°)
OKLaboklab(59.23% 0.1472 -0.1444)
OKLCHoklch(59.23% 0.206 315.5)
XYZxyz(30.5714, 18.1961, 60.9212)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BCF #6FCF4B
analogous
#694BCF #AB4BCF #CF4BB1
triadic
#AB4BCF #CFAB4B #4BCFAB
tetradic
#AB4BCF #CF694B #6FCF4B #4BB1CF
square
#AB4BCF #CF694B #6FCF4B #4BB1CF
split-complementary
#AB4BCF #B1CF4B #4BCF69
monochromatic
#65227E #8B2EAE #AB4BCF #C27BDC #D8ACE9

Accessibility & contrast

On white

4.53
#AB4BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#AB4BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4BCF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BCF#FFFFFF#000000##000000
##AB4BCF1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1671D3
Deuteranopia (green-blind)
#4A79CC
Tritanopia (blue-blind)
#A96386
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab4bcf;
/* rgb */ color: rgb(171, 75, 207);
/* oklch */ color: oklch(59.2% 0.206 315.5);
Tailwind
colors: {
  custom: {
    50: '#c783de',
    500: '#ab4bcf',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bcf;
$custom-light: #c783de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bcf",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 207
  },
  "hsl": {
    "h": 283.636,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59229,
    "c": 0.20624,
    "h": 315.5
  },
  "luminance": 0.18195
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB4BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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