#AB5EDA#AB5EDA

#AB5EDA is a light, vivid violet. Relative luminance 0.217; OKLCH L 62.3% C 0.190 H 310.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AB5EDA
RGBrgb(171, 94, 218)
HSLhsl(277, 63%, 61%)
HSVhsv(277, 57%, 85%)
CMYKcmyk(21.6%, 56.9%, 0%, 14.5%)
CIE-LABlab(53.74, 52.43, -51.35)
CIE-LCHlch(53.74, 73.38, 315.60°)
OKLaboklab(62.34% 0.1241 -0.1442)
OKLCHoklch(62.34% 0.19 310.7)
XYZxyz(33.4498, 21.7260, 68.7475)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EDA #8DDA5E
analogous
#6D5EDA #AB5EDA #DA5ECB
triadic
#AB5EDA #DAAB5E #5EDAAB
tetradic
#AB5EDA #DA6D5E #8DDA5E #5ECBDA
square
#AB5EDA #DA6D5E #8DDA5E #5ECBDA
split-complementary
#AB5EDA #CBDA5E #5EDA6D
monochromatic
#6D239A #902FCC #AB5EDA #C590E5 #DFC2F1

Accessibility & contrast

On white

3.93
#AB5EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#AB5EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EDA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EDA#FFFFFF#000000##000000
##AB5EDA1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#357DDE
Deuteranopia (green-blind)
#5382D7
Tritanopia (blue-blind)
#A57493
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab5eda;
/* rgb */ color: rgb(171, 94, 218);
/* oklch */ color: oklch(62.3% 0.190 310.7);
Tailwind
colors: {
  custom: {
    50: '#c78fe6',
    500: '#ab5eda',
    950: '#000000',
  },
}
SCSS
$custom: #ab5eda;
$custom-light: #c78fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5eda",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 218
  },
  "hsl": {
    "h": 277.258,
    "s": 62.626,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62342,
    "c": 0.19023,
    "h": 310.7
  },
  "luminance": 0.21725
}

Semantic roles & 50–950 ramp

primary
#AB5EDA
secondary
#C4E1B3
accent
#CA1B5E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #AB5EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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