#AB7BDA#AB7BDA

#AB7BDA is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.8% C 0.144 H 306.2°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#AB7BDA
RGBrgb(171, 123, 218)
HSLhsl(270, 56%, 67%)
HSVhsv(270, 44%, 85%)
CMYKcmyk(21.6%, 43.6%, 0%, 14.5%)
CIE-LABlab(59.79, 36.87, -41.76)
CIE-LCHlch(59.79, 55.71, 311.44°)
OKLaboklab(66.83% 0.0851 -0.1164)
OKLCHoklch(66.83% 0.144 306.2)
XYZxyz(36.5299, 27.8861, 69.7742)
Luminance0.2789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7BDA #AADA7B
analogous
#7C7BDA #AB7BDA #DA7BD9
triadic
#AB7BDA #DAAB7B #7BDAAB
tetradic
#AB7BDA #DA7C7B #AADA7B #7BD9DA
square
#AB7BDA #DA7C7B #AADA7B #7BD9DA
split-complementary
#AB7BDA #D9DA7B #7BDA7C
monochromatic
#6E30AB #8D4BCD #AB7BDA #C9ABE7 #E8DBF5

Accessibility & contrast

On white

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

On black

6.58
#AB7BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7BDA
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7BDA#FFFFFF#000000##000000
##AB7BDA1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#648EDD
Deuteranopia (green-blind)
#6F90D7
Tritanopia (blue-blind)
#A48AA0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab7bda;
/* rgb */ color: rgb(171, 123, 218);
/* oklch */ color: oklch(66.8% 0.144 306.2);
Tailwind
colors: {
  custom: {
    50: '#c6a2e6',
    500: '#ab7bda',
    950: '#000000',
  },
}
SCSS
$custom: #ab7bda;
$custom-light: #c6a2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7bda",
  "rgb": {
    "r": 171,
    "g": 123,
    "b": 218
  },
  "hsl": {
    "h": 270.316,
    "s": 56.213,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66831,
    "c": 0.14418,
    "h": 306.2
  },
  "luminance": 0.27886
}

Semantic roles & 50–950 ramp

primary
#AB7BDA
secondary
#D8E8C9
accent
#C42272
background
#FCFAFE
surface
#F8F3FC
border
#D1CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AB7BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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