#AB55DD#AB55DD

#AB55DD is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.3% C 0.206 H 310.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AB55DD
RGBrgb(171, 85, 221)
HSLhsl(278, 67%, 60%)
HSVhsv(278, 62%, 87%)
CMYKcmyk(22.6%, 61.5%, 0%, 13.3%)
CIE-LABlab(52.26, 57.52, -55.40)
CIE-LCHlch(52.26, 79.86, 316.08°)
OKLaboklab(61.32% 0.1352 -0.156)
OKLCHoklch(61.32% 0.206 310.9)
XYZxyz(33.0918, 20.3761, 70.5823)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB55DD #87DD55
analogous
#6755DD #AB55DD #DD55CB
triadic
#AB55DD #DDAB55 #55DDAB
tetradic
#AB55DD #DD6755 #87DD55 #55CBDD
square
#AB55DD #DD6755 #87DD55 #55CBDD
split-complementary
#AB55DD #CBDD55 #55DD67
monochromatic
#6C1F99 #9029CC #AB55DD #C488E7 #DDBBF1

Accessibility & contrast

On white

4.14
#AB55DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#AB55DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB55DD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB55DD#FFFFFF#000000##000000
##AB55DD1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1979E1
Deuteranopia (green-blind)
#477EDA
Tritanopia (blue-blind)
#A56F91
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab55dd;
/* rgb */ color: rgb(171, 85, 221);
/* oklch */ color: oklch(61.3% 0.206 310.9);
Tailwind
colors: {
  custom: {
    50: '#c889e8',
    500: '#ab55dd',
    950: '#000000',
  },
}
SCSS
$custom: #ab55dd;
$custom-light: #c889e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab55dd",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 221
  },
  "hsl": {
    "h": 277.941,
    "s": 66.667,
    "l": 60
  },
  "oklch": {
    "l": 0.61323,
    "c": 0.20641,
    "h": 310.9
  },
  "luminance": 0.20375
}

Semantic roles & 50–950 ramp

primary
#AB55DD
secondary
#C0E1AD
accent
#EA3E7D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB55DD

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

Preview Lab → · Contrast checker → · Palette generator →

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