#AB55DA#AB55DA

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

Color values

HEX#AB55DA
RGBrgb(171, 85, 218)
HSLhsl(279, 64%, 59%)
HSVhsv(279, 61%, 85%)
CMYKcmyk(21.6%, 61%, 0%, 14.5%)
CIE-LABlab(52.08, 56.88, -53.99)
CIE-LCHlch(52.08, 78.42, 316.50°)
OKLaboklab(61.14% 0.1352 -0.1519)
OKLCHoklch(61.14% 0.203 311.7)
XYZxyz(32.6957, 20.2177, 68.4961)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB55DA #84DA55
analogous
#6955DA #AB55DA #DA55C7
triadic
#AB55DA #DAAB55 #55DAAB
tetradic
#AB55DA #DA6955 #84DA55 #55C7DA
square
#AB55DA #DA6955 #84DA55 #55C7DA
split-complementary
#AB55DA #C7DA55 #55DA69
monochromatic
#6B2094 #902BC7 #AB55DA #C487E5 #DDBAF0

Accessibility & contrast

On white

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

On black

5.04
#AB55DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB55DA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB55DA#FFFFFF#000000##000000
##AB55DA1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F78DE
Deuteranopia (green-blind)
#4A7ED7
Tritanopia (blue-blind)
#A66E90
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ab55da;
/* rgb */ color: rgb(171, 85, 218);
/* oklch */ color: oklch(61.1% 0.203 311.7);
Tailwind
colors: {
  custom: {
    50: '#c789e6',
    500: '#ab55da',
    950: '#000000',
  },
}
SCSS
$custom: #ab55da;
$custom-light: #c789e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab55da",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 218
  },
  "hsl": {
    "h": 278.797,
    "s": 64.251,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61138,
    "c": 0.20333,
    "h": 311.7
  },
  "luminance": 0.20217
}

Semantic roles & 50–950 ramp

primary
#AB55DA
secondary
#BEDFAB
accent
#E7417B
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB55DA

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

Preview Lab → · Contrast checker → · Palette generator →

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