#AB5BCC#AB5BCC

#AB5BCC is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.1% C 0.180 H 315.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AB5BCC
RGBrgb(171, 91, 204)
HSLhsl(282, 53%, 58%)
HSVhsv(282, 55%, 80%)
CMYKcmyk(16.2%, 55.4%, 0%, 20%)
CIE-LABlab(52.40, 50.95, -45.51)
CIE-LCHlch(52.40, 68.31, 318.23°)
OKLaboklab(61.11% 0.1273 -0.1271)
OKLCHoklch(61.11% 0.18 315)
XYZxyz(31.4330, 20.5007, 59.4163)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BCC #7CCC5B
analogous
#725BCC #AB5BCC #CC5BB4
triadic
#AB5BCC #CCAB5B #5BCCAB
tetradic
#AB5BCC #CC725B #7CCC5B #5BB4CC
square
#AB5BCC #CC725B #7CCC5B #5BB4CC
split-complementary
#AB5BCC #B4CC5B #5BCC72
monochromatic
#692984 #8E37B2 #AB5BCC #C38ADB #DBB8E9

Accessibility & contrast

On white

4.12
#AB5BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#AB5BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BCC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BCC#FFFFFF#000000##000000
##AB5BCC1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E78D0
Deuteranopia (green-blind)
#5A7FC9
Tritanopia (blue-blind)
#A96E8B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab5bcc;
/* rgb */ color: rgb(171, 91, 204);
/* oklch */ color: oklch(61.1% 0.180 315.0);
Tailwind
colors: {
  custom: {
    50: '#c78ddc',
    500: '#ab5bcc',
    950: '#000000',
  },
}
SCSS
$custom: #ab5bcc;
$custom-light: #c78ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5bcc",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 204
  },
  "hsl": {
    "h": 282.478,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61115,
    "c": 0.1799,
    "h": 315
  },
  "luminance": 0.205
}

Semantic roles & 50–950 ramp

primary
#AB5BCC
secondary
#B8D8AB
accent
#DC4C76
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB5BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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