#AB45BF#AB45BF

#AB45BF is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.6% C 0.199 H 320.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AB45BF
RGBrgb(171, 69, 191)
HSLhsl(290, 49%, 51%)
HSVhsv(290, 64%, 75%)
CMYKcmyk(10.5%, 63.9%, 0%, 25.1%)
CIE-LABlab(47.85, 58.76, -45.24)
CIE-LCHlch(47.85, 74.16, 322.41°)
OKLaboklab(57.57% 0.1543 -0.1262)
OKLCHoklch(57.57% 0.199 320.7)
XYZxyz(28.3256, 16.6771, 51.0071)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB45BF #59BF45
analogous
#6E45BF #AB45BF #BF4596
triadic
#AB45BF #BFAB45 #45BFAB
tetradic
#AB45BF #BF6E45 #59BF45 #4596BF
square
#AB45BF #BF6E45 #59BF45 #4596BF
split-complementary
#AB45BF #96BF45 #45BF6E
monochromatic
#5B2366 #843394 #AB45BF #C073CF #D4A0DE

Accessibility & contrast

On white

4.84
#AB45BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#AB45BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB45BF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB45BF#FFFFFF#000000##FFFFFF
##AB45BF1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246AC3
Deuteranopia (green-blind)
#5175BC
Tritanopia (blue-blind)
#AC597C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab45bf;
/* rgb */ color: rgb(171, 69, 191);
/* oklch */ color: oklch(57.6% 0.199 320.7);
Tailwind
colors: {
  custom: {
    50: '#c780d3',
    500: '#ab45bf',
    950: '#000000',
  },
}
SCSS
$custom: #ab45bf;
$custom-light: #c780d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab45bf",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 290.164,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57572,
    "c": 0.19937,
    "h": 320.7
  },
  "luminance": 0.16676
}

Semantic roles & 50–950 ramp

primary
#AB45BF
secondary
#9ECB95
accent
#D84F66
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB45BF

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

Preview Lab → · Contrast checker → · Palette generator →

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