#AB4FBE#AB4FBE

#AB4FBE is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.7% C 0.184 H 320.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AB4FBE
RGBrgb(171, 79, 190)
HSLhsl(290, 46%, 53%)
HSVhsv(290, 58%, 75%)
CMYKcmyk(10%, 58.4%, 0%, 25.5%)
CIE-LABlab(49.46, 54.01, -42.11)
CIE-LCHlch(49.46, 68.48, 322.06°)
OKLaboklab(58.72% 0.142 -0.1172)
OKLCHoklch(58.72% 0.184 320.5)
XYZxyz(28.8837, 17.9689, 50.6521)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FBE #62BE4F
analogous
#744FBE #AB4FBE #BE4F99
triadic
#AB4FBE #BEAB4F #4FBEAB
tetradic
#AB4FBE #BE744F #62BE4F #4F99BE
square
#AB4FBE #BE744F #62BE4F #4F99BE
split-complementary
#AB4FBE #99BE4F #4FBE74
monochromatic
#60286B #873898 #AB4FBE #C07CCF #D6A8DF

Accessibility & contrast

On white

4.57
#AB4FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#AB4FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4FBE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FBE#FFFFFF#000000##000000
##AB4FBE1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#376FC1
Deuteranopia (green-blind)
#5979BB
Tritanopia (blue-blind)
#AC607F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab4fbe;
/* rgb */ color: rgb(171, 79, 190);
/* oklch */ color: oklch(58.7% 0.184 320.5);
Tailwind
colors: {
  custom: {
    50: '#c785d2',
    500: '#ab4fbe',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fbe;
$custom-light: #c785d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fbe",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 289.73,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58722,
    "c": 0.18412,
    "h": 320.5
  },
  "luminance": 0.17968
}

Semantic roles & 50–950 ramp

primary
#AB4FBE
secondary
#A5CC9C
accent
#D65269
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AB4FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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