#AB7BDC#AB7BDC

#AB7BDC is a light, vivid violet. Relative luminance 0.280; OKLCH L 66.9% C 0.147 H 305.6°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#AB7BDC
RGBrgb(171, 123, 220)
HSLhsl(270, 58%, 67%)
HSVhsv(270, 44%, 86%)
CMYKcmyk(22.3%, 44.1%, 0%, 13.7%)
CIE-LABlab(59.88, 37.33, -42.73)
CIE-LCHlch(59.88, 56.74, 311.14°)
OKLaboklab(66.93% 0.0854 -0.1192)
OKLCHoklch(66.93% 0.147 305.6)
XYZxyz(36.7932, 27.9914, 71.1608)
Luminance0.2799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7BDC #ACDC7B
analogous
#7B7BDC #AB7BDC #DC7BDC
triadic
#AB7BDC #DCAB7B #7BDCAB
tetradic
#AB7BDC #DC7B7B #ACDC7B #7BDCDC
square
#AB7BDC #DC7B7B #ACDC7B #7BDCDC
split-complementary
#AB7BDC #DCDC7B #7BDC7B
monochromatic
#6E2EAE #8C4BCF #AB7BDC #CAABE9 #E9DCF6

Accessibility & contrast

On white

3.18
#AB7BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#AB7BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7BDC
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7BDC#FFFFFF#000000##000000
##AB7BDC1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#638FE0
Deuteranopia (green-blind)
#6E91D9
Tritanopia (blue-blind)
#A38BA1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab7bdc;
/* rgb */ color: rgb(171, 123, 220);
/* oklch */ color: oklch(66.9% 0.147 305.6);
Tailwind
colors: {
  custom: {
    50: '#c6a2e7',
    500: '#ab7bdc',
    950: '#000000',
  },
}
SCSS
$custom: #ab7bdc;
$custom-light: #c6a2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7bdc",
  "rgb": {
    "r": 171,
    "g": 123,
    "b": 220
  },
  "hsl": {
    "h": 269.691,
    "s": 58.084,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66933,
    "c": 0.14665,
    "h": 305.6
  },
  "luminance": 0.27991
}

Semantic roles & 50–950 ramp

primary
#AB7BDC
secondary
#DAE9CA
accent
#C62074
background
#FCFAFE
surface
#F8F3FC
border
#D1CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AB7BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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