#AB7DCF#AB7DCF

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

Color values

HEX#AB7DCF
RGBrgb(171, 125, 207)
HSLhsl(274, 46%, 65%)
HSVhsv(274, 40%, 81%)
CMYKcmyk(17.4%, 39.6%, 0%, 18.8%)
CIE-LABlab(59.74, 33.26, -35.66)
CIE-LCHlch(59.74, 48.76, 313.00°)
OKLaboklab(66.63% 0.0802 -0.0988)
OKLCHoklch(66.63% 0.127 309.1)
XYZxyz(35.3886, 27.8306, 62.5269)
Luminance0.2783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7DCF #A1CF7D
analogous
#827DCF #AB7DCF #CF7DCA
triadic
#AB7DCF #CFAB7D #7DCFAB
tetradic
#AB7DCF #CF827D #A1CF7D #7DCACF
square
#AB7DCF #CF827D #A1CF7D #7DCACF
split-complementary
#AB7DCF #CACF7D #7DCF82
monochromatic
#6F3999 #8E50BE #AB7DCF #C8AAE0 #E5D6F0

Accessibility & contrast

On white

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

On black

6.57
#AB7DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7DCF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7DCF#FFFFFF#000000##000000
##AB7DCF1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab7dcf;
/* rgb */ color: rgb(171, 125, 207);
/* oklch */ color: oklch(66.6% 0.127 309.1);
Tailwind
colors: {
  custom: {
    50: '#c5a3de',
    500: '#ab7dcf',
    950: '#000000',
  },
}
SCSS
$custom: #ab7dcf;
$custom-light: #c5a3de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7dcf",
  "rgb": {
    "r": 171,
    "g": 125,
    "b": 207
  },
  "hsl": {
    "h": 273.659,
    "s": 46.067,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66628,
    "c": 0.12726,
    "h": 309.1
  },
  "luminance": 0.2783
}

Semantic roles & 50–950 ramp

primary
#AB7DCF
secondary
#D2E2C6
accent
#B92C6A
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AB7DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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