#AB91EF#AB91EF

#AB91EF is a light, vivid violet. Relative luminance 0.351; OKLCH L 71.7% C 0.136 H 295.5°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#AB91EF
RGBrgb(171, 145, 239)
HSLhsl(257, 75%, 75%)
HSVhsv(257, 39%, 94%)
CMYKcmyk(28.5%, 39.3%, 0%, 6.3%)
CIE-LABlab(65.86, 29.50, -43.88)
CIE-LCHlch(65.86, 52.87, 303.91°)
OKLaboklab(71.74% 0.0585 -0.1226)
OKLCHoklch(71.74% 0.136 295.5)
XYZxyz(42.4962, 35.1402, 86.1884)
Luminance0.3514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB91EF #D5EF91
analogous
#91A6EF #AB91EF #DA91EF
triadic
#AB91EF #EFAB91 #91EFAB
tetradic
#AB91EF #EF91A6 #D5EF91 #91EFDA
square
#AB91EF #EF91A6 #D5EF91 #91EFDA
split-complementary
#AB91EF #EFDA91 #A6EF91
monochromatic
#5926DF #825CE7 #AB91EF #D4C6F7 #EBE4FB

Accessibility & contrast

On white

2.62
#AB91EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#AB91EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB91EF
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB91EF#FFFFFF#000000##000000
##AB91EF1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F3
Deuteranopia (green-blind)
#7B9FED
Tritanopia (blue-blind)
#9DA2B5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ab91ef;
/* rgb */ color: rgb(171, 145, 239);
/* oklch */ color: oklch(71.7% 0.136 295.5);
Tailwind
colors: {
  custom: {
    50: '#c6b1f4',
    500: '#ab91ef',
    950: '#000000',
  },
}
SCSS
$custom: #ab91ef;
$custom-light: #c6b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab91ef",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 239
  },
  "hsl": {
    "h": 256.596,
    "s": 74.603,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71737,
    "c": 0.1358,
    "h": 295.5
  },
  "luminance": 0.35141
}

Semantic roles & 50–950 ramp

primary
#AB91EF
secondary
#EBF3D8
accent
#D70F9F
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131017
muted
#827F85

Preview Lab

Preview with #AB91EF

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

Preview Lab → · Contrast checker → · Palette generator →

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