#AB55CE#AB55CE

#AB55CE is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.4% C 0.191 H 315.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AB55CE
RGBrgb(171, 85, 206)
HSLhsl(283, 55%, 57%)
HSVhsv(283, 59%, 81%)
CMYKcmyk(17%, 58.7%, 0%, 19.2%)
CIE-LABlab(51.40, 54.35, -48.24)
CIE-LCHlch(51.40, 72.67, 318.40°)
OKLaboklab(60.42% 0.1351 -0.1351)
OKLCHoklch(60.42% 0.191 315)
XYZxyz(31.1819, 19.6121, 60.5235)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB55CE #78CE55
analogous
#6F55CE #AB55CE #CE55B4
triadic
#AB55CE #CEAB55 #55CEAB
tetradic
#AB55CE #CE6F55 #78CE55 #55B4CE
square
#AB55CE #CE6F55 #78CE55 #55B4CE
split-complementary
#AB55CE #B4CE55 #55CE6F
monochromatic
#682683 #8E33B2 #AB55CE #C285DC #DAB4E9

Accessibility & contrast

On white

4.27
#AB55CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#AB55CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB55CE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB55CE#FFFFFF#000000##000000
##AB55CE1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3175D2
Deuteranopia (green-blind)
#537DCB
Tritanopia (blue-blind)
#A86A8A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab55ce;
/* rgb */ color: rgb(171, 85, 206);
/* oklch */ color: oklch(60.4% 0.191 315.0);
Tailwind
colors: {
  custom: {
    50: '#c789dd',
    500: '#ab55ce',
    950: '#000000',
  },
}
SCSS
$custom: #ab55ce;
$custom-light: #c789dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab55ce",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 206
  },
  "hsl": {
    "h": 282.645,
    "s": 55.251,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60417,
    "c": 0.19105,
    "h": 315
  },
  "luminance": 0.19611
}

Semantic roles & 50–950 ramp

primary
#AB55CE
secondary
#B5D8A7
accent
#DF4974
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB55CE

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

Preview Lab → · Contrast checker → · Palette generator →

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