#AB8FF2#AB8FF2

#AB8FF2 is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.5% C 0.143 H 295.6°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#AB8FF2
RGBrgb(171, 143, 242)
HSLhsl(257, 79%, 75%)
HSVhsv(257, 41%, 95%)
CMYKcmyk(29.3%, 40.9%, 0%, 5.1%)
CIE-LABlab(65.52, 31.36, -46.05)
CIE-LCHlch(65.52, 55.71, 304.26°)
OKLaboklab(71.53% 0.0617 -0.1289)
OKLCHoklch(71.53% 0.143 295.6)
XYZxyz(42.6402, 34.7131, 88.4410)
Luminance0.3471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8FF2 #D6F28F
analogous
#8FA4F2 #AB8FF2 #DD8FF2
triadic
#AB8FF2 #F2AB8F #8FF2AB
tetradic
#AB8FF2 #F28FA4 #D6F28F #8FF2DD
square
#AB8FF2 #F28FA4 #D6F28F #8FF2DD
split-complementary
#AB8FF2 #F2DD8F #A4F28F
monochromatic
#5921E5 #8258EC #AB8FF2 #D4C6F8 #EAE4FC

Accessibility & contrast

On white

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

On black

7.94
#AB8FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8FF2
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8FF2#FFFFFF#000000##000000
##AB8FF21.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#779EF0
Tritanopia (blue-blind)
#9CA1B5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ab8ff2;
/* rgb */ color: rgb(171, 143, 242);
/* oklch */ color: oklch(71.5% 0.143 295.6);
Tailwind
colors: {
  custom: {
    50: '#c6b0f7',
    500: '#ab8ff2',
    950: '#000000',
  },
}
SCSS
$custom: #ab8ff2;
$custom-light: #c6b0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8ff2",
  "rgb": {
    "r": 171,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 256.97,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7153,
    "c": 0.14288,
    "h": 295.6
  },
  "luminance": 0.34714
}

Semantic roles & 50–950 ramp

primary
#AB8FF2
secondary
#ECF4D7
accent
#DB0AA0
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #AB8FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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