#AB5BCF#AB5BCF

#AB5BCF is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.3% C 0.183 H 314.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AB5BCF
RGBrgb(171, 91, 207)
HSLhsl(281, 55%, 58%)
HSVhsv(281, 56%, 81%)
CMYKcmyk(17.4%, 56%, 0%, 18.8%)
CIE-LABlab(52.56, 51.58, -46.96)
CIE-LCHlch(52.56, 69.76, 317.68°)
OKLaboklab(61.29% 0.1275 -0.1314)
OKLCHoklch(61.29% 0.183 314.1)
XYZxyz(31.7963, 20.6460, 61.3295)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BCF #7FCF5B
analogous
#715BCF #AB5BCF #CF5BB9
triadic
#AB5BCF #CFAB5B #5BCFAB
tetradic
#AB5BCF #CF715B #7FCF5B #5BB9CF
square
#AB5BCF #CF715B #7FCF5B #5BB9CF
split-complementary
#AB5BCF #B9CF5B #5BCF71
monochromatic
#6A2888 #8F36B7 #AB5BCF #C38ADD #DBBAEB

Accessibility & contrast

On white

4.09
#AB5BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#AB5BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BCF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BCF#FFFFFF#000000##000000
##AB5BCF1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B79D3
Deuteranopia (green-blind)
#587FCC
Tritanopia (blue-blind)
#A86F8C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab5bcf;
/* rgb */ color: rgb(171, 91, 207);
/* oklch */ color: oklch(61.3% 0.183 314.1);
Tailwind
colors: {
  custom: {
    50: '#c78dde',
    500: '#ab5bcf',
    950: '#000000',
  },
}
SCSS
$custom: #ab5bcf;
$custom-light: #c78dde;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5bcf",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 207
  },
  "hsl": {
    "h": 281.379,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61285,
    "c": 0.18306,
    "h": 314.1
  },
  "luminance": 0.20645
}

Semantic roles & 50–950 ramp

primary
#AB5BCF
secondary
#BADAAC
accent
#DE4A78
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB5BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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