#AB8BC2#AB8BC2

#AB8BC2 is a light, moderate violet. Relative luminance 0.310; OKLCH L 68.6% C 0.087 H 310.6°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#AB8BC2
RGBrgb(171, 139, 194)
HSLhsl(275, 31%, 65%)
HSVhsv(275, 28%, 76%)
CMYKcmyk(11.9%, 28.4%, 0%, 23.9%)
CIE-LABlab(62.52, 22.51, -24.02)
CIE-LCHlch(62.52, 32.92, 313.13°)
OKLaboklab(68.57% 0.0563 -0.0657)
OKLCHoklch(68.57% 0.087 310.6)
XYZxyz(35.7631, 31.0186, 55.1316)
Luminance0.3102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8BC2 #A2C28B
analogous
#8F8BC2 #AB8BC2 #C28BBD
triadic
#AB8BC2 #C2AB8B #8BC2AB
tetradic
#AB8BC2 #C28F8B #A2C28B #8BBDC2
square
#AB8BC2 #C28F8B #A2C28B #8BBDC2
split-complementary
#AB8BC2 #BDC28B #8BC28F
monochromatic
#6F498A #8E63AD #AB8BC2 #C8B3D7 #E5DBEC

Accessibility & contrast

On white

2.92
#AB8BC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#AB8BC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8BC2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8BC2#FFFFFF#000000##000000
##AB8BC21.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8296C4
Deuteranopia (green-blind)
#8998C0
Tritanopia (blue-blind)
#A9929F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ab8bc2;
/* rgb */ color: rgb(171, 139, 194);
/* oklch */ color: oklch(68.6% 0.087 310.6);
Tailwind
colors: {
  custom: {
    50: '#c4add4',
    500: '#ab8bc2',
    950: '#000000',
  },
}
SCSS
$custom: #ab8bc2;
$custom-light: #c4add4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8bc2",
  "rgb": {
    "r": 171,
    "g": 139,
    "b": 194
  },
  "hsl": {
    "h": 274.909,
    "s": 31.073,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68573,
    "c": 0.08652,
    "h": 310.6
  },
  "luminance": 0.31018
}

Semantic roles & 50–950 ramp

primary
#AB8BC2
secondary
#D3DECB
accent
#AA3C6A
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131014
muted
#827F83

Preview Lab

Preview with #AB8BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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