#AB8BED#AB8BED

#AB8BED is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.6% C 0.143 H 297.7°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#AB8BED
RGBrgb(171, 139, 237)
HSLhsl(260, 73%, 74%)
HSVhsv(260, 41%, 93%)
CMYKcmyk(27.8%, 41.4%, 0%, 7.1%)
CIE-LABlab(64.35, 32.39, -45.14)
CIE-LCHlch(64.35, 55.56, 305.66°)
OKLaboklab(70.57% 0.0662 -0.1262)
OKLCHoklch(70.57% 0.143 297.7)
XYZxyz(41.3097, 33.2372, 84.3434)
Luminance0.3324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8BED #CDED8B
analogous
#8B9CED #AB8BED #DC8BED
triadic
#AB8BED #EDAB8B #8BEDAB
tetradic
#AB8BED #ED8B9C #CDED8B #8BEDDC
square
#AB8BED #ED8B9C #CDED8B #8BEDDC
split-complementary
#AB8BED #EDDC8B #9CED8B
monochromatic
#5F22DC #8556E5 #AB8BED #D1C0F5 #ECE5FB

Accessibility & contrast

On white

2.75
#AB8BED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#AB8BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8BED
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8BED#FFFFFF#000000##000000
##AB8BED1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF1
Deuteranopia (green-blind)
#759BEB
Tritanopia (blue-blind)
#9E9CB1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab8bed;
/* rgb */ color: rgb(171, 139, 237);
/* oklch */ color: oklch(70.6% 0.143 297.7);
Tailwind
colors: {
  custom: {
    50: '#c6adf3',
    500: '#ab8bed',
    950: '#000000',
  },
}
SCSS
$custom: #ab8bed;
$custom-light: #c6adf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8bed",
  "rgb": {
    "r": 171,
    "g": 139,
    "b": 237
  },
  "hsl": {
    "h": 259.592,
    "s": 73.134,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70566,
    "c": 0.14255,
    "h": 297.7
  },
  "luminance": 0.33238
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB8BED

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

Preview Lab → · Contrast checker → · Palette generator →

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