#AB7BDB#AB7BDB

#AB7BDB is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.9% C 0.145 H 305.9°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#AB7BDB
RGBrgb(171, 123, 219)
HSLhsl(270, 57%, 67%)
HSVhsv(270, 44%, 86%)
CMYKcmyk(21.9%, 43.8%, 0%, 14.1%)
CIE-LABlab(59.83, 37.10, -42.25)
CIE-LCHlch(59.83, 56.22, 311.29°)
OKLaboklab(66.88% 0.0853 -0.1178)
OKLCHoklch(66.88% 0.145 305.9)
XYZxyz(36.6611, 27.9386, 70.4654)
Luminance0.2794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7BDB #ABDB7B
analogous
#7B7BDB #AB7BDB #DB7BDB
triadic
#AB7BDB #DBAB7B #7BDBAB
tetradic
#AB7BDB #DB7B7B #ABDB7B #7BDBDB
square
#AB7BDB #DB7B7B #ABDB7B #7BDBDB
split-complementary
#AB7BDB #DBDB7B #7BDB7B
monochromatic
#6E2FAD #8C4BCE #AB7BDB #CAABE8 #E8DBF5

Accessibility & contrast

On white

3.19
#AB7BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#AB7BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7BDB
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7BDB#FFFFFF#000000##000000
##AB7BDB1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#638FDE
Deuteranopia (green-blind)
#6F90D8
Tritanopia (blue-blind)
#A48BA1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab7bdb;
/* rgb */ color: rgb(171, 123, 219);
/* oklch */ color: oklch(66.9% 0.145 305.9);
Tailwind
colors: {
  custom: {
    50: '#c6a2e6',
    500: '#ab7bdb',
    950: '#000000',
  },
}
SCSS
$custom: #ab7bdb;
$custom-light: #c6a2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7bdb",
  "rgb": {
    "r": 171,
    "g": 123,
    "b": 219
  },
  "hsl": {
    "h": 270,
    "s": 57.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66882,
    "c": 0.14541,
    "h": 305.9
  },
  "luminance": 0.27938
}

Semantic roles & 50–950 ramp

primary
#AB7BDB
secondary
#D9E8CA
accent
#C52173
background
#FCFAFE
surface
#F8F3FC
border
#D1CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AB7BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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