#AB8EFF#AB8EFF

#AB8EFF is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.0% C 0.161 H 293.8°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#AB8EFF
RGBrgb(171, 142, 255)
HSLhsl(255, 100%, 78%)
HSVhsv(255, 44%, 100%)
CMYKcmyk(32.9%, 44.3%, 0%, 0%)
CIE-LABlab(65.92, 35.17, -52.54)
CIE-LCHlch(65.92, 63.23, 303.80°)
OKLaboklab(72.04% 0.0651 -0.1478)
OKLCHoklch(72.04% 0.161 293.8)
XYZxyz(44.5130, 35.2231, 99.0419)
Luminance0.3522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8EFF #E2FF8E
analogous
#8EA9FF #AB8EFF #E38EFF
triadic
#AB8EFF #FFAB8E #8EFFAB
tetradic
#AB8EFF #FF8EA9 #E2FF8E #8EFFE3
square
#AB8EFF #FF8EA9 #E2FF8E #8EFFE3
split-complementary
#AB8EFF #FFE38E #A9FF8E
monochromatic
#5014FF #7E51FF #AB8EFF #D8CBFF #E8E0FF

Accessibility & contrast

On white

2.61
#AB8EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#AB8EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8EFF
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8EFF#FFFFFF#000000##000000
##AB8EFF1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#6E9EFC
Tritanopia (blue-blind)
#98A3BA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ab8eff;
/* rgb */ color: rgb(171, 142, 255);
/* oklch */ color: oklch(72.0% 0.161 293.8);
Tailwind
colors: {
  custom: {
    50: '#c7afff',
    500: '#ab8eff',
    950: '#000000',
  },
}
SCSS
$custom: #ab8eff;
$custom-light: #c7afff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8eff",
  "rgb": {
    "r": 171,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 255.398,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.72036,
    "c": 0.16146,
    "h": 293.8
  },
  "luminance": 0.35224
}

Semantic roles & 50–950 ramp

primary
#AB8EFF
secondary
#EEF7D4
accent
#E600AB
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AB8EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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