#AB8FEE#AB8FEE

#AB8FEE is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.3% C 0.138 H 296.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#AB8FEE
RGBrgb(171, 143, 238)
HSLhsl(258, 74%, 75%)
HSVhsv(258, 40%, 93%)
CMYKcmyk(28.2%, 39.9%, 0%, 6.7%)
CIE-LABlab(65.34, 30.38, -44.14)
CIE-LCHlch(65.34, 53.59, 304.54°)
OKLaboklab(71.33% 0.061 -0.1233)
OKLCHoklch(71.33% 0.138 296.3)
XYZxyz(42.0460, 34.4754, 85.3116)
Luminance0.3448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8FEE #D2EE8F
analogous
#8FA3EE #AB8FEE #DA8FEE
triadic
#AB8FEE #EEAB8F #8FEEAB
tetradic
#AB8FEE #EE8FA3 #D2EE8F #8FEEDA
square
#AB8FEE #EE8FA3 #D2EE8F #8FEEDA
split-complementary
#AB8FEE #EEDA8F #A3EE8F
monochromatic
#5B25DE #835AE6 #AB8FEE #D3C4F6 #EBE4FB

Accessibility & contrast

On white

2.66
#AB8FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#AB8FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8FEE
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8FEE#FFFFFF#000000##000000
##AB8FEE1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#749FF2
Deuteranopia (green-blind)
#799DEC
Tritanopia (blue-blind)
#9DA0B3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ab8fee;
/* rgb */ color: rgb(171, 143, 238);
/* oklch */ color: oklch(71.3% 0.138 296.3);
Tailwind
colors: {
  custom: {
    50: '#c6b0f4',
    500: '#ab8fee',
    950: '#000000',
  },
}
SCSS
$custom: #ab8fee;
$custom-light: #c6b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8fee",
  "rgb": {
    "r": 171,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 257.684,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71328,
    "c": 0.1376,
    "h": 296.3
  },
  "luminance": 0.34476
}

Semantic roles & 50–950 ramp

primary
#AB8FEE
secondary
#EBF3D8
accent
#D6109B
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AB8FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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