#AB55D9#AB55D9

#AB55D9 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.1% C 0.202 H 311.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AB55D9
RGBrgb(171, 85, 217)
HSLhsl(279, 63%, 59%)
HSVhsv(279, 61%, 85%)
CMYKcmyk(21.2%, 60.8%, 0%, 14.9%)
CIE-LABlab(52.02, 56.67, -53.51)
CIE-LCHlch(52.02, 77.94, 316.64°)
OKLaboklab(61.08% 0.1352 -0.1505)
OKLCHoklch(61.08% 0.202 311.9)
XYZxyz(32.5652, 20.1655, 67.8090)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB55D9 #83D955
analogous
#6955D9 #AB55D9 #D955C5
triadic
#AB55D9 #D9AB55 #55D9AB
tetradic
#AB55D9 #D96955 #83D955 #55C5D9
square
#AB55D9 #D96955 #83D955 #55C5D9
split-complementary
#AB55D9 #C5D955 #55D969
monochromatic
#6B2193 #902CC5 #AB55D9 #C487E4 #DCB9EF

Accessibility & contrast

On white

4.17
#AB55D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#AB55D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB55D9
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB55D9#FFFFFF#000000##000000
##AB55D91.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2178DD
Deuteranopia (green-blind)
#4B7ED6
Tritanopia (blue-blind)
#A66E8F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ab55d9;
/* rgb */ color: rgb(171, 85, 217);
/* oklch */ color: oklch(61.1% 0.202 311.9);
Tailwind
colors: {
  custom: {
    50: '#c789e5',
    500: '#ab55d9',
    950: '#000000',
  },
}
SCSS
$custom: #ab55d9;
$custom-light: #c789e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab55d9",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 217
  },
  "hsl": {
    "h": 279.091,
    "s": 63.462,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61076,
    "c": 0.20231,
    "h": 311.9
  },
  "luminance": 0.20165
}

Semantic roles & 50–950 ramp

primary
#AB55D9
secondary
#BDDFAB
accent
#E6417B
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB55D9

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

Preview Lab → · Contrast checker → · Palette generator →

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