#AB5EDB#AB5EDB

#AB5EDB is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.4% C 0.191 H 310.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AB5EDB
RGBrgb(171, 94, 219)
HSLhsl(277, 63%, 61%)
HSVhsv(277, 57%, 86%)
CMYKcmyk(21.9%, 57.1%, 0%, 14.1%)
CIE-LABlab(53.79, 52.65, -51.82)
CIE-LCHlch(53.79, 73.87, 315.45°)
OKLaboklab(62.4% 0.1241 -0.1456)
OKLCHoklch(62.4% 0.191 310.5)
XYZxyz(33.5811, 21.7785, 69.4387)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EDB #8EDB5E
analogous
#6D5EDB #AB5EDB #DB5ECD
triadic
#AB5EDB #DBAB5E #5EDBAB
tetradic
#AB5EDB #DB6D5E #8EDB5E #5ECDDB
square
#AB5EDB #DB6D5E #8EDB5E #5ECDDB
split-complementary
#AB5EDB #CDDB5E #5EDB6D
monochromatic
#6D239C #902ECE #AB5EDB #C590E6 #DFC2F1

Accessibility & contrast

On white

3.92
#AB5EDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#AB5EDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EDB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EDB#FFFFFF#000000##000000
##AB5EDB1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#347DDF
Deuteranopia (green-blind)
#5282D8
Tritanopia (blue-blind)
#A57594
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab5edb;
/* rgb */ color: rgb(171, 94, 219);
/* oklch */ color: oklch(62.4% 0.191 310.5);
Tailwind
colors: {
  custom: {
    50: '#c78fe7',
    500: '#ab5edb',
    950: '#000000',
  },
}
SCSS
$custom: #ab5edb;
$custom-light: #c78fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5edb",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 219
  },
  "hsl": {
    "h": 276.96,
    "s": 63.452,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62401,
    "c": 0.1913,
    "h": 310.5
  },
  "luminance": 0.21778
}

Semantic roles & 50–950 ramp

primary
#AB5EDB
secondary
#C5E2B3
accent
#CB1A5E
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB5EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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