#AB55DF#AB55DF

#AB55DF is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.4% C 0.208 H 310.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AB55DF
RGBrgb(171, 85, 223)
HSLhsl(277, 68%, 60%)
HSVhsv(277, 62%, 87%)
CMYKcmyk(23.3%, 61.9%, 0%, 12.5%)
CIE-LABlab(52.38, 57.96, -56.34)
CIE-LCHlch(52.38, 80.83, 315.81°)
OKLaboklab(61.45% 0.1351 -0.1588)
OKLCHoklch(61.45% 0.208 310.4)
XYZxyz(33.3598, 20.4833, 71.9940)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB55DF #89DF55
analogous
#6655DF #AB55DF #DF55CE
triadic
#AB55DF #DFAB55 #55DFAB
tetradic
#AB55DF #DF6655 #89DF55 #55CEDF
square
#AB55DF #DF6655 #89DF55 #55CEDF
split-complementary
#AB55DF #CEDF55 #55DF66
monochromatic
#6C1D9C #9027D0 #AB55DF #C489E9 #DEBCF2

Accessibility & contrast

On white

4.12
#AB55DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#AB55DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB55DF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB55DF#FFFFFF#000000##000000
##AB55DF1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1379E3
Deuteranopia (green-blind)
#457EDC
Tritanopia (blue-blind)
#A47092
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab55df;
/* rgb */ color: rgb(171, 85, 223);
/* oklch */ color: oklch(61.4% 0.208 310.4);
Tailwind
colors: {
  custom: {
    50: '#c88aea',
    500: '#ab55df',
    950: '#000000',
  },
}
SCSS
$custom: #ab55df;
$custom-light: #c88aea;
$custom-dark: #000000;
JSON
{
  "hex": "#ab55df",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 223
  },
  "hsl": {
    "h": 277.391,
    "s": 68.317,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61448,
    "c": 0.20847,
    "h": 310.4
  },
  "luminance": 0.20483
}

Semantic roles & 50–950 ramp

primary
#AB55DF
secondary
#C1E2AE
accent
#D0155C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB55DF

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

Preview Lab → · Contrast checker → · Palette generator →

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