#AB8BD2#AB8BD2

#AB8BD2 is a light, moderate violet. Relative luminance 0.318; OKLCH L 69.3% C 0.107 H 304.4°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#AB8BD2
RGBrgb(171, 139, 210)
HSLhsl(267, 44%, 68%)
HSVhsv(267, 34%, 82%)
CMYKcmyk(18.6%, 33.8%, 0%, 17.6%)
CIE-LABlab(63.16, 26.04, -32.02)
CIE-LCHlch(63.16, 41.27, 309.12°)
OKLaboklab(69.27% 0.0606 -0.0884)
OKLCHoklch(69.27% 0.107 304.4)
XYZxyz(37.6577, 31.7764, 65.1099)
Luminance0.3178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8BD2 #B2D28B
analogous
#8B8ED2 #AB8BD2 #CE8BD2
triadic
#AB8BD2 #D2AB8B #8BD2AB
tetradic
#AB8BD2 #D28B8E #B2D28B #8BD2CE
square
#AB8BD2 #D28B8E #B2D28B #8BD2CE
split-complementary
#AB8BD2 #D2CE8B #8ED28B
monochromatic
#6C3FA3 #8B5FC1 #AB8BD2 #CBB7E3 #EBE3F4

Accessibility & contrast

On white

2.86
#AB8BD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#AB8BD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8BD2
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8BD2#FFFFFF#000000##000000
##AB8BD21.002.867.367.36
#FFFFFF2.861.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C98D5
Deuteranopia (green-blind)
#8299D0
Tritanopia (blue-blind)
#A596A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab8bd2;
/* rgb */ color: rgb(171, 139, 210);
/* oklch */ color: oklch(69.3% 0.107 304.4);
Tailwind
colors: {
  custom: {
    50: '#c5ade0',
    500: '#ab8bd2',
    950: '#000000',
  },
}
SCSS
$custom: #ab8bd2;
$custom-light: #c5ade0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8bd2",
  "rgb": {
    "r": 171,
    "g": 139,
    "b": 210
  },
  "hsl": {
    "h": 267.042,
    "s": 44.099,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69267,
    "c": 0.10717,
    "h": 304.4
  },
  "luminance": 0.31776
}

Semantic roles & 50–950 ramp

primary
#AB8BD2
secondary
#DDE7D2
accent
#B72E7A
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AB8BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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