#AB7FDA#AB7FDA

#AB7FDA is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.5% C 0.138 H 305.3°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#AB7FDA
RGBrgb(171, 127, 218)
HSLhsl(269, 55%, 68%)
HSVhsv(269, 42%, 85%)
CMYKcmyk(21.6%, 41.7%, 0%, 14.5%)
CIE-LABlab(60.69, 34.63, -40.34)
CIE-LCHlch(60.69, 53.17, 310.65°)
OKLaboklab(67.51% 0.0795 -0.1123)
OKLCHoklch(67.51% 0.138 305.3)
XYZxyz(37.0363, 28.8988, 69.9430)
Luminance0.2890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7FDA #AEDA7F
analogous
#7F80DA #AB7FDA #D97FDA
triadic
#AB7FDA #DAAB7F #7FDAAB
tetradic
#AB7FDA #DA7F80 #AEDA7F #7FDAD9
square
#AB7FDA #DA7F80 #AEDA7F #7FDAD9
split-complementary
#AB7FDA #DAD97F #80DA7F
monochromatic
#6D32AD #8C50CC #AB7FDA #CAAEE8 #E9DEF5

Accessibility & contrast

On white

3.10
#AB7FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#AB7FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7FDA
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7FDA#FFFFFF#000000##000000
##AB7FDA1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6991DD
Deuteranopia (green-blind)
#7393D8
Tritanopia (blue-blind)
#A48EA2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab7fda;
/* rgb */ color: rgb(171, 127, 218);
/* oklch */ color: oklch(67.5% 0.138 305.3);
Tailwind
colors: {
  custom: {
    50: '#c5a5e6',
    500: '#ab7fda',
    950: '#000000',
  },
}
SCSS
$custom: #ab7fda;
$custom-light: #c5a5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7fda",
  "rgb": {
    "r": 171,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 269.011,
    "s": 55.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67513,
    "c": 0.13757,
    "h": 305.3
  },
  "luminance": 0.28899
}

Semantic roles & 50–950 ramp

primary
#AB7FDA
secondary
#DBE9CC
accent
#C32375
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AB7FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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