#AB8FE1#AB8FE1

#AB8FE1 is a light, vivid violet. Relative luminance 0.337; OKLCH L 70.7% C 0.120 H 299.0°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#AB8FE1
RGBrgb(171, 143, 225)
HSLhsl(260, 58%, 72%)
HSVhsv(260, 36%, 88%)
CMYKcmyk(24%, 36.4%, 0%, 11.8%)
CIE-LABlab(64.75, 27.25, -37.88)
CIE-LCHlch(64.75, 46.66, 305.73°)
OKLaboklab(70.69% 0.0584 -0.1052)
OKLCHoklch(70.69% 0.12 299)
XYZxyz(40.2046, 33.7389, 75.6137)
Luminance0.3374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8FE1 #C5E18F
analogous
#8F9CE1 #AB8FE1 #D48FE1
triadic
#AB8FE1 #E1AB8F #8FE1AB
tetradic
#AB8FE1 #E18F9C #C5E18F #8FE1D4
square
#AB8FE1 #E18F9C #C5E18F #8FE1D4
split-complementary
#AB8FE1 #E1D48F #9CE18F
monochromatic
#6434C2 #875FD4 #AB8FE1 #CFBFEE #EDE7F9

Accessibility & contrast

On white

2.71
#AB8FE1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#AB8FE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8FE1
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8FE1#FFFFFF#000000##000000
##AB8FE11.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9DE4
Deuteranopia (green-blind)
#809CDF
Tritanopia (blue-blind)
#A19DAE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ab8fe1;
/* rgb */ color: rgb(171, 143, 225);
/* oklch */ color: oklch(70.7% 0.120 299.0);
Tailwind
colors: {
  custom: {
    50: '#c5b0ea',
    500: '#ab8fe1',
    950: '#000000',
  },
}
SCSS
$custom: #ab8fe1;
$custom-light: #c5b0ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8fe1",
  "rgb": {
    "r": 171,
    "g": 143,
    "b": 225
  },
  "hsl": {
    "h": 260.488,
    "s": 57.746,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70693,
    "c": 0.12033,
    "h": 299
  },
  "luminance": 0.33739
}

Semantic roles & 50–950 ramp

primary
#AB8FE1
secondary
#E9F0DB
accent
#C5208D
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AB8FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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