#AB8AEF#AB8AEF

#AB8AEF is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.5% C 0.147 H 297.6°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#AB8AEF
RGBrgb(171, 138, 239)
HSLhsl(260, 76%, 74%)
HSVhsv(260, 42%, 94%)
CMYKcmyk(28.5%, 42.3%, 0%, 6.3%)
CIE-LABlab(64.21, 33.44, -46.46)
CIE-LCHlch(64.21, 57.25, 305.75°)
OKLaboklab(70.49% 0.0679 -0.1301)
OKLCHoklch(70.49% 0.147 297.6)
XYZxyz(41.4593, 33.0665, 85.8428)
Luminance0.3307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8AEF #CEEF8A
analogous
#8A9CEF #AB8AEF #DE8AEF
triadic
#AB8AEF #EFAB8A #8AEFAB
tetradic
#AB8AEF #EF8A9C #CEEF8A #8AEFDE
square
#AB8AEF #EF8A9C #CEEF8A #8AEFDE
split-complementary
#AB8AEF #EFDE8A #9CEF8A
monochromatic
#5E1FE0 #8454E8 #AB8AEF #D2C0F6 #ECE4FB

Accessibility & contrast

On white

2.76
#AB8AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#AB8AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8AEF
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8AEF#FFFFFF#000000##000000
##AB8AEF1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF3
Deuteranopia (green-blind)
#739BEC
Tritanopia (blue-blind)
#9D9CB1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab8aef;
/* rgb */ color: rgb(171, 138, 239);
/* oklch */ color: oklch(70.5% 0.147 297.6);
Tailwind
colors: {
  custom: {
    50: '#c6acf4',
    500: '#ab8aef',
    950: '#000000',
  },
}
SCSS
$custom: #ab8aef;
$custom-light: #c6acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8aef",
  "rgb": {
    "r": 171,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 259.604,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70493,
    "c": 0.14673,
    "h": 297.6
  },
  "luminance": 0.33067
}

Semantic roles & 50–950 ramp

primary
#AB8AEF
secondary
#EAF3D8
accent
#D80D96
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AB8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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