#AB5EEE#AB5EEE

#AB5EEE is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.6% C 0.212 H 305.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AB5EEE
RGBrgb(171, 94, 238)
HSLhsl(272, 81%, 65%)
HSVhsv(272, 61%, 93%)
CMYKcmyk(28.2%, 60.5%, 0%, 6.7%)
CIE-LABlab(54.90, 56.90, -60.72)
CIE-LCHlch(54.90, 83.22, 313.14°)
OKLaboklab(63.57% 0.1241 -0.1717)
OKLCHoklch(63.57% 0.212 305.9)
XYZxyz(36.2266, 22.8367, 83.3718)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EEE #A1EE5E
analogous
#635EEE #AB5EEE #EE5EE9
triadic
#AB5EEE #EEAB5E #5EEEAB
tetradic
#AB5EEE #EE635E #A1EE5E #5EE9EE
square
#AB5EEE #EE635E #A1EE5E #5EE9EE
split-complementary
#AB5EEE #E9EE5E #5EEE63
monochromatic
#6F14BE #8E27E8 #AB5EEE #C895F4 #E5CDFA

Accessibility & contrast

On white

3.77
#AB5EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#AB5EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EEE
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EEE#FFFFFF#000000##000000
##AB5EEE1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F81F3
Deuteranopia (green-blind)
#4084EB
Tritanopia (blue-blind)
#A07B9D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab5eee;
/* rgb */ color: rgb(171, 94, 238);
/* oklch */ color: oklch(63.6% 0.212 305.9);
Tailwind
colors: {
  custom: {
    50: '#c88ff4',
    500: '#ab5eee',
    950: '#000000',
  },
}
SCSS
$custom: #ab5eee;
$custom-light: #c88ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5eee",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 238
  },
  "hsl": {
    "h": 272.083,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6357,
    "c": 0.21181,
    "h": 305.9
  },
  "luminance": 0.22836
}

Semantic roles & 50–950 ramp

primary
#AB5EEE
secondary
#D2ECBB
accent
#DD086B
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB5EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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