#AB5EE7#AB5EE7

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

Color values

HEX#AB5EE7
RGBrgb(171, 94, 231)
HSLhsl(274, 74%, 64%)
HSVhsv(274, 59%, 91%)
CMYKcmyk(26%, 59.3%, 0%, 9.4%)
CIE-LABlab(54.48, 55.32, -57.48)
CIE-LCHlch(54.48, 79.77, 313.90°)
OKLaboklab(63.13% 0.1242 -0.1621)
OKLCHoklch(63.13% 0.204 307.5)
XYZxyz(35.2181, 22.4333, 78.0606)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EE7 #9AE75E
analogous
#665EE7 #AB5EE7 #E75EDE
triadic
#AB5EE7 #E7AB5E #5EE7AB
tetradic
#AB5EE7 #E7665E #9AE75E #5EDEE7
square
#AB5EE7 #E7665E #9AE75E #5EDEE7
split-complementary
#AB5EE7 #DEE75E #5EE766
monochromatic
#6F1AB0 #8F29DF #AB5EE7 #C793EF #E3C9F7

Accessibility & contrast

On white

3.83
#AB5EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#AB5EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EE7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EE7#FFFFFF#000000##000000
##AB5EE71.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#227FEB
Deuteranopia (green-blind)
#4783E4
Tritanopia (blue-blind)
#A2799A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab5ee7;
/* rgb */ color: rgb(171, 94, 231);
/* oklch */ color: oklch(63.1% 0.204 307.5);
Tailwind
colors: {
  custom: {
    50: '#c88fef',
    500: '#ab5ee7',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ee7;
$custom-light: #c88fef;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ee7",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 273.723,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6313,
    "c": 0.20425,
    "h": 307.5
  },
  "luminance": 0.22433
}

Semantic roles & 50–950 ramp

primary
#AB5EE7
secondary
#CDE9B8
accent
#D60F66
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB5EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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