#AB5EE5#AB5EE5

#AB5EE5 is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.0% C 0.202 H 307.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AB5EE5
RGBrgb(171, 94, 229)
HSLhsl(274, 72%, 63%)
HSVhsv(274, 59%, 90%)
CMYKcmyk(25.3%, 59%, 0%, 10.2%)
CIE-LABlab(54.37, 54.87, -56.54)
CIE-LCHlch(54.37, 78.79, 314.14°)
OKLaboklab(63.01% 0.1242 -0.1594)
OKLCHoklch(63.01% 0.202 307.9)
XYZxyz(34.9373, 22.3210, 76.5814)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EE5 #98E55E
analogous
#675EE5 #AB5EE5 #E55EDC
triadic
#AB5EE5 #E5AB5E #5EE5AB
tetradic
#AB5EE5 #E5675E #98E55E #5EDCE5
square
#AB5EE5 #E5675E #98E55E #5EDCE5
split-complementary
#AB5EE5 #DCE55E #5EE567
monochromatic
#6E1CAD #9029DC #AB5EE5 #C693EE #E2C7F6

Accessibility & contrast

On white

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

On black

5.46
#AB5EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EE5
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EE5#FFFFFF#000000##000000
##AB5EE51.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#267FE9
Deuteranopia (green-blind)
#4983E2
Tritanopia (blue-blind)
#A27899
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab5ee5;
/* rgb */ color: rgb(171, 94, 229);
/* oklch */ color: oklch(63.0% 0.202 307.9);
Tailwind
colors: {
  custom: {
    50: '#c88fee',
    500: '#ab5ee5',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ee5;
$custom-light: #c88fee;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ee5",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 229
  },
  "hsl": {
    "h": 274.222,
    "s": 72.193,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63006,
    "c": 0.2021,
    "h": 307.9
  },
  "luminance": 0.2232
}

Semantic roles & 50–950 ramp

primary
#AB5EE5
secondary
#CCE7B7
accent
#D41165
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB5EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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