#AB5BED#AB5BED

#AB5BED is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.1% C 0.215 H 306.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AB5BED
RGBrgb(171, 91, 237)
HSLhsl(273, 80%, 64%)
HSVhsv(273, 62%, 93%)
CMYKcmyk(27.8%, 61.6%, 0%, 7.1%)
CIE-LABlab(54.30, 58.15, -61.14)
CIE-LCHlch(54.30, 84.38, 313.57°)
OKLaboklab(63.11% 0.1276 -0.1729)
OKLCHoklch(63.11% 0.215 306.4)
XYZxyz(35.8185, 22.2549, 82.5130)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BED #9DED5B
analogous
#625BED #AB5BED #ED5BE6
triadic
#AB5BED #EDAB5B #5BEDAB
tetradic
#AB5BED #ED625B #9DED5B #5BE6ED
square
#AB5BED #ED625B #9DED5B #5BE6ED
split-complementary
#AB5BED #E6ED5B #5BED62
monochromatic
#6F14B9 #8F24E7 #AB5BED #C792F3 #E3C9F9

Accessibility & contrast

On white

3.85
#AB5BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#AB5BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BED
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BED#FFFFFF#000000##000000
##AB5BED1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#3D82EA
Tritanopia (blue-blind)
#A0799C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab5bed;
/* rgb */ color: rgb(171, 91, 237);
/* oklch */ color: oklch(63.1% 0.215 306.4);
Tailwind
colors: {
  custom: {
    50: '#c88df4',
    500: '#ab5bed',
    950: '#000000',
  },
}
SCSS
$custom: #ab5bed;
$custom-light: #c88df4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5bed",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 272.877,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6311,
    "c": 0.21487,
    "h": 306.4
  },
  "luminance": 0.22255
}

Semantic roles & 50–950 ramp

primary
#AB5BED
secondary
#CFEBB9
accent
#DD0969
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140D17
muted
#827D85

Preview Lab

Preview with #AB5BED

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

Preview Lab → · Contrast checker → · Palette generator →

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