#AB55CF#AB55CF

#AB55CF is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.5% C 0.192 H 314.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AB55CF
RGBrgb(171, 85, 207)
HSLhsl(282, 56%, 57%)
HSVhsv(282, 59%, 81%)
CMYKcmyk(17.4%, 58.9%, 0%, 18.8%)
CIE-LABlab(51.45, 54.55, -48.73)
CIE-LCHlch(51.45, 73.15, 318.23°)
OKLaboklab(60.48% 0.1351 -0.1365)
OKLCHoklch(60.48% 0.192 314.7)
XYZxyz(31.3038, 19.6609, 61.1653)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB55CF #79CF55
analogous
#6E55CF #AB55CF #CF55B6
triadic
#AB55CF #CFAB55 #55CFAB
tetradic
#AB55CF #CF6E55 #79CF55 #55B6CF
square
#AB55CF #CF6E55 #79CF55 #55B6CF
split-complementary
#AB55CF #B6CF55 #55CF6E
monochromatic
#682584 #8E33B4 #AB55CF #C385DC #DAB4EA

Accessibility & contrast

On white

4.26
#AB55CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#AB55CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB55CF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB55CF#FFFFFF#000000##000000
##AB55CF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3076D3
Deuteranopia (green-blind)
#537DCC
Tritanopia (blue-blind)
#A86A8A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab55cf;
/* rgb */ color: rgb(171, 85, 207);
/* oklch */ color: oklch(60.5% 0.192 314.7);
Tailwind
colors: {
  custom: {
    50: '#c789de',
    500: '#ab55cf',
    950: '#000000',
  },
}
SCSS
$custom: #ab55cf;
$custom-light: #c789de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab55cf",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 207
  },
  "hsl": {
    "h": 282.295,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60476,
    "c": 0.19207,
    "h": 314.7
  },
  "luminance": 0.1966
}

Semantic roles & 50–950 ramp

primary
#AB55CF
secondary
#B6D9A7
accent
#DF4975
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB55CF

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

Preview Lab → · Contrast checker → · Palette generator →

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