#AB60CB#AB60CB

#AB60CB is a mid, vivid purple. Relative luminance 0.213; OKLCH L 61.8% C 0.171 H 314.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AB60CB
RGBrgb(171, 96, 203)
HSLhsl(282, 51%, 59%)
HSVhsv(282, 53%, 80%)
CMYKcmyk(15.8%, 52.7%, 0%, 20.4%)
CIE-LABlab(53.32, 48.17, -43.48)
CIE-LCHlch(53.32, 64.89, 317.93°)
OKLaboklab(61.77% 0.1206 -0.1213)
OKLCHoklch(61.77% 0.171 314.8)
XYZxyz(31.7552, 21.3364, 58.9339)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB60CB #80CB60
analogous
#7560CB #AB60CB #CB60B5
triadic
#AB60CB #CBAB60 #60CBAB
tetradic
#AB60CB #CB7560 #80CB60 #60B5CB
square
#AB60CB #CB7560 #80CB60 #60B5CB
split-complementary
#AB60CB #B5CB60 #60CB75
monochromatic
#6A2C85 #8F3BB3 #AB60CB #C38EDA #DCBCE9

Accessibility & contrast

On white

3.99
#AB60CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#AB60CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB60CB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB60CB#FFFFFF#000000##000000
##AB60CB1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#477BCF
Deuteranopia (green-blind)
#5F81C8
Tritanopia (blue-blind)
#A9718C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ab60cb;
/* rgb */ color: rgb(171, 96, 203);
/* oklch */ color: oklch(61.8% 0.171 314.8);
Tailwind
colors: {
  custom: {
    50: '#c690db',
    500: '#ab60cb',
    950: '#000000',
  },
}
SCSS
$custom: #ab60cb;
$custom-light: #c690db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab60cb",
  "rgb": {
    "r": 171,
    "g": 96,
    "b": 203
  },
  "hsl": {
    "h": 282.056,
    "s": 50.711,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61772,
    "c": 0.17099,
    "h": 314.8
  },
  "luminance": 0.21335
}

Semantic roles & 50–950 ramp

primary
#AB60CB
secondary
#BBD9AE
accent
#DA4E78
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AB60CB

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

Preview Lab → · Contrast checker → · Palette generator →

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