#AB5FBB#AB5FBB

#AB5FBB is a mid, vivid purple. Relative luminance 0.204; OKLCH L 60.8% C 0.156 H 320.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AB5FBB
RGBrgb(171, 95, 187)
HSLhsl(290, 40%, 55%)
HSVhsv(290, 49%, 73%)
CMYKcmyk(8.6%, 49.2%, 0%, 26.7%)
CIE-LABlab(52.32, 45.40, -35.86)
CIE-LCHlch(52.32, 57.85, 321.69°)
OKLaboklab(60.78% 0.1201 -0.0992)
OKLCHoklch(60.78% 0.156 320.4)
XYZxyz(29.8554, 20.4314, 49.3751)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5FBB #6FBB5F
analogous
#7D5FBB #AB5FBB #BB5F9D
triadic
#AB5FBB #BBAB5F #5FBBAB
tetradic
#AB5FBB #BB7D5F #6FBB5F #5F9DBB
square
#AB5FBB #BB7D5F #6FBB5F #5F9DBB
split-complementary
#AB5FBB #9DBB5F #5FBB7D
monochromatic
#653070 #8B429B #AB5FBB #C28ACD #D8B5E0

Accessibility & contrast

On white

4.13
#AB5FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#AB5FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5FBB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5FBB#FFFFFF#000000##000000
##AB5FBB1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5077BE
Deuteranopia (green-blind)
#6780B8
Tritanopia (blue-blind)
#AC6B84
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab5fbb;
/* rgb */ color: rgb(171, 95, 187);
/* oklch */ color: oklch(60.8% 0.156 320.4);
Tailwind
colors: {
  custom: {
    50: '#c68fd0',
    500: '#ab5fbb',
    950: '#000000',
  },
}
SCSS
$custom: #ab5fbb;
$custom-light: #c68fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5fbb",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 289.565,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60779,
    "c": 0.15574,
    "h": 320.4
  },
  "luminance": 0.2043
}

Semantic roles & 50–950 ramp

primary
#AB5FBB
secondary
#AECEA8
accent
#D0586D
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130D14
muted
#827D82

Preview Lab

Preview with #AB5FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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