#AB5EEC#AB5EEC

#AB5EEC is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.4% C 0.210 H 306.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AB5EEC
RGBrgb(171, 94, 236)
HSLhsl(273, 79%, 65%)
HSVhsv(273, 60%, 93%)
CMYKcmyk(27.5%, 60.2%, 0%, 7.5%)
CIE-LABlab(54.78, 56.45, -59.80)
CIE-LCHlch(54.78, 82.23, 313.35°)
OKLaboklab(63.44% 0.1241 -0.1689)
OKLCHoklch(63.44% 0.21 306.3)
XYZxyz(35.9344, 22.7198, 81.8329)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EEC #9FEC5E
analogous
#645EEC #AB5EEC #EC5EE6
triadic
#AB5EEC #ECAB5E #5EECAB
tetradic
#AB5EEC #EC645E #9FEC5E #5EE6EC
square
#AB5EEC #EC645E #9FEC5E #5EE6EC
split-complementary
#AB5EEC #E6EC5E #5EEC64
monochromatic
#6F16BA #8E27E6 #AB5EEC #C895F2 #E4CBF9

Accessibility & contrast

On white

3.79
#AB5EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#AB5EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EEC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EEC#FFFFFF#000000##000000
##AB5EEC1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1681F0
Deuteranopia (green-blind)
#4284E9
Tritanopia (blue-blind)
#A07A9C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab5eec;
/* rgb */ color: rgb(171, 94, 236);
/* oklch */ color: oklch(63.4% 0.210 306.3);
Tailwind
colors: {
  custom: {
    50: '#c88ff3',
    500: '#ab5eec',
    950: '#000000',
  },
}
SCSS
$custom: #ab5eec;
$custom-light: #c88ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5eec",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 236
  },
  "hsl": {
    "h": 272.535,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63443,
    "c": 0.20965,
    "h": 306.3
  },
  "luminance": 0.22719
}

Semantic roles & 50–950 ramp

primary
#AB5EEC
secondary
#D1EBBB
accent
#DB0A6A
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB5EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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