#AB5EE3#AB5EE3

#AB5EE3 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.9% C 0.200 H 308.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AB5EE3
RGBrgb(171, 94, 227)
HSLhsl(275, 70%, 63%)
HSVhsv(275, 59%, 89%)
CMYKcmyk(24.7%, 58.6%, 0%, 11%)
CIE-LABlab(54.25, 54.42, -55.60)
CIE-LCHlch(54.25, 77.80, 314.38°)
OKLaboklab(62.88% 0.1242 -0.1567)
OKLCHoklch(62.88% 0.2 308.4)
XYZxyz(34.6596, 22.2099, 75.1192)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EE3 #96E35E
analogous
#685EE3 #AB5EE3 #E35ED8
triadic
#AB5EE3 #E3AB5E #5EE3AB
tetradic
#AB5EE3 #E3685E #96E35E #5ED8E3
square
#AB5EE3 #E3685E #96E35E #5ED8E3
split-complementary
#AB5EE3 #D8E35E #5EE368
monochromatic
#6E1DA9 #902ADA #AB5EE3 #C692EC #E1C6F5

Accessibility & contrast

On white

3.86
#AB5EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#AB5EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EE3
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EE3#FFFFFF#000000##000000
##AB5EE31.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#297FE7
Deuteranopia (green-blind)
#4B83E0
Tritanopia (blue-blind)
#A37798
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab5ee3;
/* rgb */ color: rgb(171, 94, 227);
/* oklch */ color: oklch(62.9% 0.200 308.4);
Tailwind
colors: {
  custom: {
    50: '#c78fec',
    500: '#ab5ee3',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ee3;
$custom-light: #c78fec;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ee3",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 227
  },
  "hsl": {
    "h": 274.737,
    "s": 70.37,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62883,
    "c": 0.19994,
    "h": 308.4
  },
  "luminance": 0.22209
}

Semantic roles & 50–950 ramp

primary
#AB5EE3
secondary
#CBE6B6
accent
#D21364
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB5EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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