#AB7BD4#AB7BD4

#AB7BD4 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.5% C 0.137 H 307.9°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AB7BD4
RGBrgb(171, 123, 212)
HSLhsl(272, 51%, 66%)
HSVhsv(272, 42%, 83%)
CMYKcmyk(19.3%, 42%, 0%, 16.9%)
CIE-LABlab(59.51, 35.50, -38.83)
CIE-LCHlch(59.51, 52.62, 312.43°)
OKLaboklab(66.53% 0.0841 -0.1079)
OKLCHoklch(66.53% 0.137 307.9)
XYZxyz(35.7589, 27.5777, 65.7138)
Luminance0.2758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7BD4 #A4D47B
analogous
#7E7BD4 #AB7BD4 #D47BD0
triadic
#AB7BD4 #D4AB7B #7BD4AB
tetradic
#AB7BD4 #D47E7B #A4D47B #7BD0D4
square
#AB7BD4 #D47E7B #A4D47B #7BD0D4
split-complementary
#AB7BD4 #D0D47B #7BD47E
monochromatic
#6F34A0 #8E4DC5 #AB7BD4 #C8A9E3 #E6D7F2

Accessibility & contrast

On white

3.22
#AB7BD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#AB7BD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7BD4
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7BD4#FFFFFF#000000##000000
##AB7BD41.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#678DD7
Deuteranopia (green-blind)
#7390D2
Tritanopia (blue-blind)
#A5899D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab7bd4;
/* rgb */ color: rgb(171, 123, 212);
/* oklch */ color: oklch(66.5% 0.137 307.9);
Tailwind
colors: {
  custom: {
    50: '#c5a2e1',
    500: '#ab7bd4',
    950: '#000000',
  },
}
SCSS
$custom: #ab7bd4;
$custom-light: #c5a2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7bd4",
  "rgb": {
    "r": 171,
    "g": 123,
    "b": 212
  },
  "hsl": {
    "h": 272.36,
    "s": 50.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66528,
    "c": 0.1368,
    "h": 307.9
  },
  "luminance": 0.27577
}

Semantic roles & 50–950 ramp

primary
#AB7BD4
secondary
#D4E4C7
accent
#BE276D
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AB7BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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