#AB55DE#AB55DE

#AB55DE is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.4% C 0.207 H 310.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AB55DE
RGBrgb(171, 85, 222)
HSLhsl(278, 67%, 60%)
HSVhsv(278, 62%, 87%)
CMYKcmyk(23%, 61.7%, 0%, 12.9%)
CIE-LABlab(52.32, 57.74, -55.87)
CIE-LCHlch(52.32, 80.35, 315.94°)
OKLaboklab(61.39% 0.1351 -0.1574)
OKLCHoklch(61.39% 0.207 310.6)
XYZxyz(33.2254, 20.4296, 71.2861)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB55DE #88DE55
analogous
#6655DE #AB55DE #DE55CD
triadic
#AB55DE #DEAB55 #55DEAB
tetradic
#AB55DE #DE6655 #88DE55 #55CDDE
square
#AB55DE #DE6655 #88DE55 #55CDDE
split-complementary
#AB55DE #CDDE55 #55DE66
monochromatic
#6C1E9B #9028CE #AB55DE #C488E8 #DEBCF2

Accessibility & contrast

On white

4.13
#AB55DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#AB55DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB55DE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB55DE#FFFFFF#000000##000000
##AB55DE1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1679E2
Deuteranopia (green-blind)
#467EDB
Tritanopia (blue-blind)
#A46F92
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab55de;
/* rgb */ color: rgb(171, 85, 222);
/* oklch */ color: oklch(61.4% 0.207 310.6);
Tailwind
colors: {
  custom: {
    50: '#c88ae9',
    500: '#ab55de',
    950: '#000000',
  },
}
SCSS
$custom: #ab55de;
$custom-light: #c88ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab55de",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 222
  },
  "hsl": {
    "h": 277.664,
    "s": 67.488,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61386,
    "c": 0.20744,
    "h": 310.6
  },
  "luminance": 0.20429
}

Semantic roles & 50–950 ramp

primary
#AB55DE
secondary
#C1E2AD
accent
#CF165B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB55DE

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

Preview Lab → · Contrast checker → · Palette generator →

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