#AB88FA#AB88FA

#AB88FA is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.7% C 0.164 H 296.1°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#AB88FA
RGBrgb(171, 136, 250)
HSLhsl(258, 92%, 76%)
HSVhsv(258, 46%, 98%)
CMYKcmyk(31.6%, 45.6%, 0%, 2%)
CIE-LABlab(64.30, 37.28, -52.38)
CIE-LCHlch(64.30, 64.29, 305.44°)
OKLaboklab(70.73% 0.0722 -0.1473)
OKLCHoklch(70.73% 0.164 296.1)
XYZxyz(42.8498, 33.1678, 94.5684)
Luminance0.3317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB88FA #D7FA88
analogous
#889EFA #AB88FA #E488FA
triadic
#AB88FA #FAAB88 #88FAAB
tetradic
#AB88FA #FA889E #D7FA88 #88FAE4
square
#AB88FA #FA889E #D7FA88 #88FAE4
split-complementary
#AB88FA #FAE488 #9EFA88
monochromatic
#5813F5 #824DF8 #AB88FA #D4C3FC #EAE2FE

Accessibility & contrast

On white

2.75
#AB88FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#AB88FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB88FA
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB88FA#FFFFFF#000000##000000
##AB88FA1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFE
Deuteranopia (green-blind)
#6A9AF7
Tritanopia (blue-blind)
#9A9DB5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab88fa;
/* rgb */ color: rgb(171, 136, 250);
/* oklch */ color: oklch(70.7% 0.164 296.1);
Tailwind
colors: {
  custom: {
    50: '#c7abfc',
    500: '#ab88fa',
    950: '#000000',
  },
}
SCSS
$custom: #ab88fa;
$custom-light: #c7abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab88fa",
  "rgb": {
    "r": 171,
    "g": 136,
    "b": 250
  },
  "hsl": {
    "h": 258.421,
    "s": 91.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70731,
    "c": 0.16403,
    "h": 296.1
  },
  "luminance": 0.33168
}

Semantic roles & 50–950 ramp

primary
#AB88FA
secondary
#ECF6D5
accent
#E6009F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AB88FA

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

Preview Lab → · Contrast checker → · Palette generator →

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