#AB8FFE#AB8FFE

#AB8FFE is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.2% C 0.159 H 293.6°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#AB8FFE
RGBrgb(171, 143, 254)
HSLhsl(255, 98%, 78%)
HSVhsv(255, 44%, 100%)
CMYKcmyk(32.7%, 43.7%, 0%, 0.4%)
CIE-LABlab(66.10, 34.36, -51.70)
CIE-LCHlch(66.10, 62.08, 303.61°)
OKLaboklab(72.16% 0.0636 -0.1453)
OKLCHoklch(72.16% 0.159 293.6)
XYZxyz(44.5019, 35.4578, 98.2461)
Luminance0.3546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8FFE #E2FE8F
analogous
#8FAAFE #AB8FFE #E28FFE
triadic
#AB8FFE #FEAB8F #8FFEAB
tetradic
#AB8FFE #FE8FAA #E2FE8F #8FFEE2
square
#AB8FFE #FE8FAA #E2FE8F #8FFEE2
split-complementary
#AB8FFE #FEE28F #AAFE8F
monochromatic
#5016FD #7E52FD #AB8FFE #D8CCFF #E8E1FF

Accessibility & contrast

On white

2.60
#AB8FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#AB8FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8FFE
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8FFE#FFFFFF#000000##000000
##AB8FFE1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA2FF
Deuteranopia (green-blind)
#6F9FFB
Tritanopia (blue-blind)
#98A4BA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ab8ffe;
/* rgb */ color: rgb(171, 143, 254);
/* oklch */ color: oklch(72.2% 0.159 293.6);
Tailwind
colors: {
  custom: {
    50: '#c7b0ff',
    500: '#ab8ffe',
    950: '#000000',
  },
}
SCSS
$custom: #ab8ffe;
$custom-light: #c7b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8ffe",
  "rgb": {
    "r": 171,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 255.135,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.72157,
    "c": 0.15866,
    "h": 293.6
  },
  "luminance": 0.35459
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB8FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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