#AB91EC#AB91EC

#AB91EC is a light, vivid violet. Relative luminance 0.350; OKLCH L 71.6% C 0.132 H 296.1°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#AB91EC
RGBrgb(171, 145, 236)
HSLhsl(257, 71%, 75%)
HSVhsv(257, 39%, 93%)
CMYKcmyk(27.5%, 38.6%, 0%, 7.5%)
CIE-LABlab(65.72, 28.76, -42.44)
CIE-LCHlch(65.72, 51.27, 304.13°)
OKLaboklab(71.59% 0.0579 -0.1184)
OKLCHoklch(71.59% 0.132 296.1)
XYZxyz(42.0567, 34.9644, 83.8737)
Luminance0.3497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB91EC #D2EC91
analogous
#91A5EC #AB91EC #D991EC
triadic
#AB91EC #ECAB91 #91ECAB
tetradic
#AB91EC #EC91A5 #D2EC91 #91ECD9
square
#AB91EC #EC91A5 #D2EC91 #91ECD9
split-complementary
#AB91EC #ECD991 #A5EC91
monochromatic
#5B29DA #835DE3 #AB91EC #D3C5F5 #EBE5FA

Accessibility & contrast

On white

2.63
#AB91EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#AB91EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB91EC
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB91EC#FFFFFF#000000##000000
##AB91EC1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0EF
Deuteranopia (green-blind)
#7C9EEA
Tritanopia (blue-blind)
#9EA1B3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ab91ec;
/* rgb */ color: rgb(171, 145, 236);
/* oklch */ color: oklch(71.6% 0.132 296.1);
Tailwind
colors: {
  custom: {
    50: '#c6b1f2',
    500: '#ab91ec',
    950: '#000000',
  },
}
SCSS
$custom: #ab91ec;
$custom-light: #c6b1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab91ec",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 236
  },
  "hsl": {
    "h": 257.143,
    "s": 70.543,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71589,
    "c": 0.1318,
    "h": 296.1
  },
  "luminance": 0.34965
}

Semantic roles & 50–950 ramp

primary
#AB91EC
secondary
#EBF2D9
accent
#D3139C
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131017
muted
#827F85

Preview Lab

Preview with #AB91EC

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

Preview Lab → · Contrast checker → · Palette generator →

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