#AB5EE2#AB5EE2

#AB5EE2 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.8% C 0.199 H 308.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AB5EE2
RGBrgb(171, 94, 226)
HSLhsl(275, 69%, 63%)
HSVhsv(275, 58%, 89%)
CMYKcmyk(24.3%, 58.4%, 0%, 11.4%)
CIE-LABlab(54.19, 54.20, -55.13)
CIE-LCHlch(54.19, 77.31, 314.51°)
OKLaboklab(62.82% 0.1242 -0.1553)
OKLCHoklch(62.82% 0.199 308.7)
XYZxyz(34.5220, 22.1549, 74.3945)
Luminance0.2215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EE2 #95E25E
analogous
#695EE2 #AB5EE2 #E25ED7
triadic
#AB5EE2 #E2AB5E #5EE2AB
tetradic
#AB5EE2 #E2695E #95E25E #5ED7E2
square
#AB5EE2 #E2695E #95E25E #5ED7E2
split-complementary
#AB5EE2 #D7E25E #5EE269
monochromatic
#6E1EA7 #902AD9 #AB5EE2 #C692EB #E1C6F5

Accessibility & contrast

On white

3.87
#AB5EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#AB5EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EE2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EE2#FFFFFF#000000##000000
##AB5EE21.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7EE6
Deuteranopia (green-blind)
#4C83DF
Tritanopia (blue-blind)
#A37797
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab5ee2;
/* rgb */ color: rgb(171, 94, 226);
/* oklch */ color: oklch(62.8% 0.199 308.7);
Tailwind
colors: {
  custom: {
    50: '#c78fec',
    500: '#ab5ee2',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ee2;
$custom-light: #c78fec;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ee2",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 226
  },
  "hsl": {
    "h": 275,
    "s": 69.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62822,
    "c": 0.19886,
    "h": 308.7
  },
  "luminance": 0.22154
}

Semantic roles & 50–950 ramp

primary
#AB5EE2
secondary
#CAE6B6
accent
#D11463
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB5EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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