#AB5EED#AB5EED

#AB5EED is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.5% C 0.211 H 306.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AB5EED
RGBrgb(171, 94, 237)
HSLhsl(272, 80%, 65%)
HSVhsv(272, 60%, 93%)
CMYKcmyk(27.8%, 60.3%, 0%, 7.1%)
CIE-LABlab(54.84, 56.67, -60.26)
CIE-LCHlch(54.84, 82.72, 313.24°)
OKLaboklab(63.51% 0.1241 -0.1703)
OKLCHoklch(63.51% 0.211 306.1)
XYZxyz(36.0801, 22.7781, 82.6002)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EED #A0ED5E
analogous
#645EED #AB5EED #ED5EE7
triadic
#AB5EED #EDAB5E #5EEDAB
tetradic
#AB5EED #ED645E #A0ED5E #5EE7ED
square
#AB5EED #ED645E #A0ED5E #5EE7ED
split-complementary
#AB5EED #E7ED5E #5EED64
monochromatic
#6F15BC #8E27E7 #AB5EED #C895F3 #E4CCF9

Accessibility & contrast

On white

3.78
#AB5EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#AB5EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EED
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EED#FFFFFF#000000##000000
##AB5EED1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1381F2
Deuteranopia (green-blind)
#4184EA
Tritanopia (blue-blind)
#A07B9D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab5eed;
/* rgb */ color: rgb(171, 94, 237);
/* oklch */ color: oklch(63.5% 0.211 306.1);
Tailwind
colors: {
  custom: {
    50: '#c88ff4',
    500: '#ab5eed',
    950: '#000000',
  },
}
SCSS
$custom: #ab5eed;
$custom-light: #c88ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5eed",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 237
  },
  "hsl": {
    "h": 272.308,
    "s": 79.888,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63506,
    "c": 0.21074,
    "h": 306.1
  },
  "luminance": 0.22778
}

Semantic roles & 50–950 ramp

primary
#AB5EED
secondary
#D2ECBB
accent
#DC096B
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB5EED

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

Preview Lab → · Contrast checker → · Palette generator →

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