#AB5EDC#AB5EDC

#AB5EDC is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.5% C 0.192 H 310.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AB5EDC
RGBrgb(171, 94, 220)
HSLhsl(277, 64%, 62%)
HSVhsv(277, 57%, 86%)
CMYKcmyk(22.3%, 57.3%, 0%, 13.7%)
CIE-LABlab(53.85, 52.87, -52.30)
CIE-LCHlch(53.85, 74.36, 315.31°)
OKLaboklab(62.46% 0.1241 -0.147)
OKLCHoklch(62.46% 0.192 310.2)
XYZxyz(33.7131, 21.8313, 70.1341)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EDC #8FDC5E
analogous
#6C5EDC #AB5EDC #DC5ECE
triadic
#AB5EDC #DCAB5E #5EDCAB
tetradic
#AB5EDC #DC6C5E #8FDC5E #5ECEDC
square
#AB5EDC #DC6C5E #8FDC5E #5ECEDC
split-complementary
#AB5EDC #CEDC5E #5EDC6C
monochromatic
#6D229D #902DD0 #AB5EDC #C590E7 #DFC3F2

Accessibility & contrast

On white

3.91
#AB5EDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#AB5EDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EDC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EDC#FFFFFF#000000##000000
##AB5EDC1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#337DE0
Deuteranopia (green-blind)
#5182D9
Tritanopia (blue-blind)
#A57594
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab5edc;
/* rgb */ color: rgb(171, 94, 220);
/* oklch */ color: oklch(62.5% 0.192 310.2);
Tailwind
colors: {
  custom: {
    50: '#c78fe7',
    500: '#ab5edc',
    950: '#000000',
  },
}
SCSS
$custom: #ab5edc;
$custom-light: #c78fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5edc",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 220
  },
  "hsl": {
    "h": 276.667,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62461,
    "c": 0.19238,
    "h": 310.2
  },
  "luminance": 0.21831
}

Semantic roles & 50–950 ramp

primary
#AB5EDC
secondary
#C6E2B3
accent
#CC195F
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB5EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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