#AB5DDA#AB5DDA

#AB5DDA is a light, vivid violet. Relative luminance 0.215; OKLCH L 62.2% C 0.192 H 310.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AB5DDA
RGBrgb(171, 93, 218)
HSLhsl(277, 63%, 61%)
HSVhsv(277, 57%, 85%)
CMYKcmyk(21.6%, 57.3%, 0%, 14.5%)
CIE-LABlab(53.55, 52.94, -51.65)
CIE-LCHlch(53.55, 73.96, 315.71°)
OKLaboklab(62.2% 0.1254 -0.1451)
OKLCHoklch(62.2% 0.192 310.8)
XYZxyz(33.3615, 21.5493, 68.7181)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5DDA #8CDA5D
analogous
#6C5DDA #AB5DDA #DA5DCA
triadic
#AB5DDA #DAAB5D #5DDAAB
tetradic
#AB5DDA #DA6C5D #8CDA5D #5DCADA
square
#AB5DDA #DA6C5D #8CDA5D #5DCADA
split-complementary
#AB5DDA #CADA5D #5DDA6C
monochromatic
#6D239A #902ECB #AB5DDA #C58FE5 #DFC1F1

Accessibility & contrast

On white

3.95
#AB5DDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#AB5DDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5DDA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5DDA#FFFFFF#000000##000000
##AB5DDA1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#337CDE
Deuteranopia (green-blind)
#5281D7
Tritanopia (blue-blind)
#A57493
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab5dda;
/* rgb */ color: rgb(171, 93, 218);
/* oklch */ color: oklch(62.2% 0.192 310.8);
Tailwind
colors: {
  custom: {
    50: '#c78ee6',
    500: '#ab5dda',
    950: '#000000',
  },
}
SCSS
$custom: #ab5dda;
$custom-light: #c78ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5dda",
  "rgb": {
    "r": 171,
    "g": 93,
    "b": 218
  },
  "hsl": {
    "h": 277.44,
    "s": 62.814,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62203,
    "c": 0.19172,
    "h": 310.8
  },
  "luminance": 0.21549
}

Semantic roles & 50–950 ramp

primary
#AB5DDA
secondary
#C4E1B2
accent
#CB1B5D
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #AB5DDA

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

Preview Lab → · Contrast checker → · Palette generator →

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