#AB5CCB#AB5CCB

#AB5CCB is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.2% C 0.177 H 315.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AB5CCB
RGBrgb(171, 92, 203)
HSLhsl(283, 52%, 58%)
HSVhsv(283, 55%, 80%)
CMYKcmyk(15.8%, 54.7%, 0%, 20.4%)
CIE-LABlab(52.54, 50.23, -44.72)
CIE-LCHlch(52.54, 67.25, 318.32°)
OKLaboklab(61.2% 0.1259 -0.1248)
OKLCHoklch(61.2% 0.177 315.2)
XYZxyz(31.3995, 20.6250, 58.8153)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CCB #7CCB5C
analogous
#745CCB #AB5CCB #CB5CB3
triadic
#AB5CCB #CBAB5C #5CCBAB
tetradic
#AB5CCB #CB745C #7CCB5C #5CB3CB
square
#AB5CCB #CB745C #7CCB5C #5CB3CB
split-complementary
#AB5CCB #B3CB5C #5CCB74
monochromatic
#692A83 #8E39B1 #AB5CCB #C38ADA #DBB9E9

Accessibility & contrast

On white

4.10
#AB5CCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#AB5CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CCB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CCB#FFFFFF#000000##000000
##AB5CCB1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4179CF
Deuteranopia (green-blind)
#5B80C8
Tritanopia (blue-blind)
#A96E8B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab5ccb;
/* rgb */ color: rgb(171, 92, 203);
/* oklch */ color: oklch(61.2% 0.177 315.2);
Tailwind
colors: {
  custom: {
    50: '#c68ddb',
    500: '#ab5ccb',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ccb;
$custom-light: #c68ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ccb",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 203
  },
  "hsl": {
    "h": 282.703,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61199,
    "c": 0.1773,
    "h": 315.2
  },
  "luminance": 0.20624
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB5CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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