#AB91ED#AB91ED

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

Color values

HEX#AB91ED
RGBrgb(171, 145, 237)
HSLhsl(257, 72%, 75%)
HSVhsv(257, 39%, 93%)
CMYKcmyk(27.8%, 38.8%, 0%, 7.1%)
CIE-LABlab(65.77, 29.01, -42.92)
CIE-LCHlch(65.77, 51.80, 304.05°)
OKLaboklab(71.64% 0.0581 -0.1198)
OKLCHoklch(71.64% 0.133 295.9)
XYZxyz(42.2024, 35.0226, 84.6410)
Luminance0.3502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB91ED #D3ED91
analogous
#91A5ED #AB91ED #D991ED
triadic
#AB91ED #EDAB91 #91EDAB
tetradic
#AB91ED #ED91A5 #D3ED91 #91EDD9
square
#AB91ED #ED91A5 #D3ED91 #91EDD9
split-complementary
#AB91ED #EDD991 #A5ED91
monochromatic
#5B28DC #835CE4 #AB91ED #D3C6F6 #EBE5FB

Accessibility & contrast

On white

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

On black

8.00
#AB91ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB91ED
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB91ED#FFFFFF#000000##000000
##AB91ED1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0F1
Deuteranopia (green-blind)
#7C9FEB
Tritanopia (blue-blind)
#9DA1B4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ab91ed;
/* rgb */ color: rgb(171, 145, 237);
/* oklch */ color: oklch(71.6% 0.133 295.9);
Tailwind
colors: {
  custom: {
    50: '#c6b1f3',
    500: '#ab91ed',
    950: '#000000',
  },
}
SCSS
$custom: #ab91ed;
$custom-light: #c6b1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab91ed",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 237
  },
  "hsl": {
    "h": 256.957,
    "s": 71.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71638,
    "c": 0.13314,
    "h": 295.9
  },
  "luminance": 0.35023
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB91ED

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

Preview Lab → · Contrast checker → · Palette generator →

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