#AB55DB#AB55DB

#AB55DB is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.2% C 0.204 H 311.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AB55DB
RGBrgb(171, 85, 219)
HSLhsl(279, 65%, 60%)
HSVhsv(279, 61%, 86%)
CMYKcmyk(21.9%, 61.2%, 0%, 14.1%)
CIE-LABlab(52.14, 57.09, -54.46)
CIE-LCHlch(52.14, 78.90, 316.35°)
OKLaboklab(61.2% 0.1352 -0.1532)
OKLCHoklch(61.2% 0.204 311.4)
XYZxyz(32.8269, 20.2702, 69.1874)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB55DB #85DB55
analogous
#6855DB #AB55DB #DB55C8
triadic
#AB55DB #DBAB55 #55DBAB
tetradic
#AB55DB #DB6855 #85DB55 #55C8DB
square
#AB55DB #DB6855 #85DB55 #55C8DB
split-complementary
#AB55DB #C8DB55 #55DB68
monochromatic
#6C2096 #902AC8 #AB55DB #C488E6 #DDBAF0

Accessibility & contrast

On white

4.16
#AB55DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#AB55DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB55DB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB55DB#FFFFFF#000000##000000
##AB55DB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D78DF
Deuteranopia (green-blind)
#497ED8
Tritanopia (blue-blind)
#A56E90
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ab55db;
/* rgb */ color: rgb(171, 85, 219);
/* oklch */ color: oklch(61.2% 0.204 311.4);
Tailwind
colors: {
  custom: {
    50: '#c789e7',
    500: '#ab55db',
    950: '#000000',
  },
}
SCSS
$custom: #ab55db;
$custom-light: #c789e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab55db",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 278.507,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61199,
    "c": 0.20436,
    "h": 311.4
  },
  "luminance": 0.20269
}

Semantic roles & 50–950 ramp

primary
#AB55DB
secondary
#BFE0AC
accent
#E8407C
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB55DB

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

Preview Lab → · Contrast checker → · Palette generator →

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