#AB5EE6#AB5EE6

#AB5EE6 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.1% C 0.203 H 307.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AB5EE6
RGBrgb(171, 94, 230)
HSLhsl(274, 73%, 64%)
HSVhsv(274, 59%, 90%)
CMYKcmyk(25.7%, 59.1%, 0%, 9.8%)
CIE-LABlab(54.42, 55.09, -57.01)
CIE-LCHlch(54.42, 79.28, 314.02°)
OKLaboklab(63.07% 0.1242 -0.1608)
OKLCHoklch(63.07% 0.203 307.7)
XYZxyz(35.0773, 22.3770, 77.3189)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EE6 #99E65E
analogous
#675EE6 #AB5EE6 #E65EDD
triadic
#AB5EE6 #E6AB5E #5EE6AB
tetradic
#AB5EE6 #E6675E #99E65E #5EDDE6
square
#AB5EE6 #E6675E #99E65E #5EDDE6
split-complementary
#AB5EE6 #DDE65E #5EE667
monochromatic
#6F1BAF #8F29DE #AB5EE6 #C793EE #E2C8F6

Accessibility & contrast

On white

3.84
#AB5EE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#AB5EE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EE6
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EE6#FFFFFF#000000##000000
##AB5EE61.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#247FEA
Deuteranopia (green-blind)
#4883E3
Tritanopia (blue-blind)
#A27899
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab5ee6;
/* rgb */ color: rgb(171, 94, 230);
/* oklch */ color: oklch(63.1% 0.203 307.7);
Tailwind
colors: {
  custom: {
    50: '#c88fef',
    500: '#ab5ee6',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ee6;
$custom-light: #c88fef;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ee6",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 230
  },
  "hsl": {
    "h": 273.971,
    "s": 73.118,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63068,
    "c": 0.20318,
    "h": 307.7
  },
  "luminance": 0.22377
}

Semantic roles & 50–950 ramp

primary
#AB5EE6
secondary
#CDE8B8
accent
#D51066
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB5EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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