#AB5BEE#AB5BEE

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

Color values

HEX#AB5BEE
RGBrgb(171, 91, 238)
HSLhsl(273, 81%, 65%)
HSVhsv(273, 62%, 93%)
CMYKcmyk(28.2%, 61.8%, 0%, 6.7%)
CIE-LABlab(54.36, 58.38, -61.60)
CIE-LCHlch(54.36, 84.87, 313.46°)
OKLaboklab(63.17% 0.1276 -0.1742)
OKLCHoklch(63.17% 0.216 306.2)
XYZxyz(35.9650, 22.3135, 83.2846)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BEE #9EEE5B
analogous
#625BEE #AB5BEE #EE5BE7
triadic
#AB5BEE #EEAB5B #5BEEAB
tetradic
#AB5BEE #EE625B #9EEE5B #5BE7EE
square
#AB5BEE #EE625B #9EEE5B #5BE7EE
split-complementary
#AB5BEE #E7EE5B #5BEE62
monochromatic
#6F13BB #8F24E8 #AB5BEE #C792F4 #E4CAF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB5BEE#FFFFFF#000000##000000
##AB5BEE1.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)
#007FF3
Deuteranopia (green-blind)
#3C82EB
Tritanopia (blue-blind)
#A0799C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab5bee;
/* rgb */ color: rgb(171, 91, 238);
/* oklch */ color: oklch(63.2% 0.216 306.2);
Tailwind
colors: {
  custom: {
    50: '#c88df4',
    500: '#ab5bee',
    950: '#000000',
  },
}
SCSS
$custom: #ab5bee;
$custom-light: #c88df4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5bee",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 238
  },
  "hsl": {
    "h": 272.653,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63174,
    "c": 0.21593,
    "h": 306.2
  },
  "luminance": 0.22313
}

Semantic roles & 50–950 ramp

primary
#AB5BEE
secondary
#D0ECB9
accent
#DE0869
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140D17
muted
#827D85

Preview Lab

Preview with #AB5BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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