#AB4FCF#AB4FCF

#AB4FCF is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 59.7% C 0.201 H 315.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AB4FCF
RGBrgb(171, 79, 207)
HSLhsl(283, 57%, 56%)
HSVhsv(283, 62%, 81%)
CMYKcmyk(17.4%, 61.8%, 0%, 18.8%)
CIE-LABlab(50.40, 57.41, -50.40)
CIE-LCHlch(50.40, 76.40, 318.72°)
OKLaboklab(59.71% 0.1425 -0.1413)
OKLCHoklch(59.71% 0.201 315.2)
XYZxyz(30.8513, 18.7559, 61.0145)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FCF #73CF4F
analogous
#6B4FCF #AB4FCF #CF4FB3
triadic
#AB4FCF #CFAB4F #4FCFAB
tetradic
#AB4FCF #CF6B4F #73CF4F #4FB3CF
square
#AB4FCF #CF6B4F #73CF4F #4FB3CF
split-complementary
#AB4FCF #B3CF4F #4FCF6B
monochromatic
#662381 #8C30B1 #AB4FCF #C27FDC #D9AFE9

Accessibility & contrast

On white

4.42
#AB4FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#AB4FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4FCF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FCF#FFFFFF#000000##000000
##AB4FCF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2373D3
Deuteranopia (green-blind)
#4D7ACC
Tritanopia (blue-blind)
#A86688
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab4fcf;
/* rgb */ color: rgb(171, 79, 207);
/* oklch */ color: oklch(59.7% 0.201 315.2);
Tailwind
colors: {
  custom: {
    50: '#c786de',
    500: '#ab4fcf',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fcf;
$custom-light: #c786de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fcf",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 283.125,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59712,
    "c": 0.20071,
    "h": 315.2
  },
  "luminance": 0.18755
}

Semantic roles & 50–950 ramp

primary
#AB4FCF
secondary
#B1D7A2
accent
#E04772
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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