#AB7DCE#AB7DCE

#AB7DCE is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.6% C 0.126 H 309.4°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AB7DCE
RGBrgb(171, 125, 206)
HSLhsl(274, 45%, 65%)
HSVhsv(274, 39%, 81%)
CMYKcmyk(17%, 39.3%, 0%, 19.2%)
CIE-LABlab(59.69, 33.04, -35.17)
CIE-LCHlch(59.69, 48.25, 313.21°)
OKLaboklab(66.58% 0.08 -0.0974)
OKLCHoklch(66.58% 0.126 309.4)
XYZxyz(35.2667, 27.7818, 61.8851)
Luminance0.2778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7DCE #A0CE7D
analogous
#837DCE #AB7DCE #CE7DC8
triadic
#AB7DCE #CEAB7D #7DCEAB
tetradic
#AB7DCE #CE837D #A0CE7D #7DC8CE
square
#AB7DCE #CE837D #A0CE7D #7DC8CE
split-complementary
#AB7DCE #C8CE7D #7DCE83
monochromatic
#6F3997 #8E51BD #AB7DCE #C8A9DF #E4D6F0

Accessibility & contrast

On white

3.20
#AB7DCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#AB7DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7DCE
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7DCE#FFFFFF#000000##000000
##AB7DCE1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8ED1
Deuteranopia (green-blind)
#7791CC
Tritanopia (blue-blind)
#A7899C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab7dce;
/* rgb */ color: rgb(171, 125, 206);
/* oklch */ color: oklch(66.6% 0.126 309.4);
Tailwind
colors: {
  custom: {
    50: '#c5a3dd',
    500: '#ab7dce',
    950: '#000000',
  },
}
SCSS
$custom: #ab7dce;
$custom-light: #c5a3dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7dce",
  "rgb": {
    "r": 171,
    "g": 125,
    "b": 206
  },
  "hsl": {
    "h": 274.074,
    "s": 45.251,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6658,
    "c": 0.12603,
    "h": 309.4
  },
  "luminance": 0.27781
}

Semantic roles & 50–950 ramp

primary
#AB7DCE
secondary
#D2E1C6
accent
#B82D69
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AB7DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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