#AB8CED#AB8CED

#AB8CED is a light, vivid violet. Relative luminance 0.335; OKLCH L 70.7% C 0.141 H 297.4°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#AB8CED
RGBrgb(171, 140, 237)
HSLhsl(259, 73%, 74%)
HSVhsv(259, 41%, 93%)
CMYKcmyk(27.8%, 40.9%, 0%, 7.1%)
CIE-LABlab(64.59, 31.83, -44.77)
CIE-LCHlch(64.59, 54.93, 305.41°)
OKLaboklab(70.74% 0.0649 -0.1252)
OKLCHoklch(70.74% 0.141 297.4)
XYZxyz(41.4551, 33.5281, 84.3919)
Luminance0.3353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8CED #CEED8C
analogous
#8C9EED #AB8CED #DC8CED
triadic
#AB8CED #EDAB8C #8CEDAB
tetradic
#AB8CED #ED8C9E #CEED8C #8CEDDC
square
#AB8CED #ED8C9E #CEED8C #8CEDDC
split-complementary
#AB8CED #EDDC8C #9EED8C
monochromatic
#5E22DC #8457E5 #AB8CED #D2C1F5 #ECE5FB

Accessibility & contrast

On white

2.73
#AB8CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#AB8CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8CED
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8CED#FFFFFF#000000##000000
##AB8CED1.002.737.717.71
#FFFFFF2.731.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#719DF1
Deuteranopia (green-blind)
#769CEB
Tritanopia (blue-blind)
#9E9DB1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ab8ced;
/* rgb */ color: rgb(171, 140, 237);
/* oklch */ color: oklch(70.7% 0.141 297.4);
Tailwind
colors: {
  custom: {
    50: '#c6aef3',
    500: '#ab8ced',
    950: '#000000',
  },
}
SCSS
$custom: #ab8ced;
$custom-light: #c6aef3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8ced",
  "rgb": {
    "r": 171,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 259.175,
    "s": 72.932,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70743,
    "c": 0.14099,
    "h": 297.4
  },
  "luminance": 0.33529
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB8CED

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

Preview Lab → · Contrast checker → · Palette generator →

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