#AB8FF3#AB8FF3

#AB8FF3 is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.6% C 0.144 H 295.4°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#AB8FF3
RGBrgb(171, 143, 243)
HSLhsl(257, 81%, 76%)
HSVhsv(257, 41%, 95%)
CMYKcmyk(29.6%, 41.2%, 0%, 4.7%)
CIE-LABlab(65.57, 31.61, -46.52)
CIE-LCHlch(65.57, 56.25, 304.20°)
OKLaboklab(71.58% 0.0619 -0.1302)
OKLCHoklch(71.58% 0.144 295.4)
XYZxyz(42.7907, 34.7733, 89.2341)
Luminance0.3477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8FF3 #D7F38F
analogous
#8FA5F3 #AB8FF3 #DD8FF3
triadic
#AB8FF3 #F3AB8F #8FF3AB
tetradic
#AB8FF3 #F38FA5 #D7F38F #8FF3DD
square
#AB8FF3 #F38FA5 #D7F38F #8FF3DD
split-complementary
#AB8FF3 #F3DD8F #A5F38F
monochromatic
#5820E7 #8258ED #AB8FF3 #D4C6F9 #EAE3FC

Accessibility & contrast

On white

2.64
#AB8FF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#AB8FF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8FF3
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8FF3#FFFFFF#000000##000000
##AB8FF31.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F7
Deuteranopia (green-blind)
#769EF0
Tritanopia (blue-blind)
#9BA1B5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ab8ff3;
/* rgb */ color: rgb(171, 143, 243);
/* oklch */ color: oklch(71.6% 0.144 295.4);
Tailwind
colors: {
  custom: {
    50: '#c6b0f7',
    500: '#ab8ff3',
    950: '#000000',
  },
}
SCSS
$custom: #ab8ff3;
$custom-light: #c6b0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8ff3",
  "rgb": {
    "r": 171,
    "g": 143,
    "b": 243
  },
  "hsl": {
    "h": 256.8,
    "s": 80.645,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71581,
    "c": 0.14421,
    "h": 295.4
  },
  "luminance": 0.34774
}

Semantic roles & 50–950 ramp

primary
#AB8FF3
secondary
#ECF4D7
accent
#DD09A1
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AB8FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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