#AB7CDC#AB7CDC

#AB7CDC is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.1% C 0.145 H 305.4°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#AB7CDC
RGBrgb(171, 124, 220)
HSLhsl(269, 58%, 67%)
HSVhsv(269, 44%, 86%)
CMYKcmyk(22.3%, 43.6%, 0%, 13.7%)
CIE-LABlab(60.11, 36.77, -42.38)
CIE-LCHlch(60.11, 56.11, 310.95°)
OKLaboklab(67.1% 0.084 -0.1182)
OKLCHoklch(67.1% 0.145 305.4)
XYZxyz(36.9178, 28.2408, 71.2024)
Luminance0.2824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7CDC #ADDC7C
analogous
#7C7DDC #AB7CDC #DB7CDC
triadic
#AB7CDC #DCAB7C #7CDCAB
tetradic
#AB7CDC #DC7C7D #ADDC7C #7CDCDB
square
#AB7CDC #DC7C7D #ADDC7C #7CDCDB
split-complementary
#AB7CDC #DCDB7C #7DDC7C
monochromatic
#6D2FAF #8C4CCF #AB7CDC #CAACE9 #E9DDF6

Accessibility & contrast

On white

3.16
#AB7CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#AB7CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7CDC
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7CDC#FFFFFF#000000##000000
##AB7CDC1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#648FDF
Deuteranopia (green-blind)
#6F91D9
Tritanopia (blue-blind)
#A38CA1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab7cdc;
/* rgb */ color: rgb(171, 124, 220);
/* oklch */ color: oklch(67.1% 0.145 305.4);
Tailwind
colors: {
  custom: {
    50: '#c6a3e7',
    500: '#ab7cdc',
    950: '#000000',
  },
}
SCSS
$custom: #ab7cdc;
$custom-light: #c6a3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7cdc",
  "rgb": {
    "r": 171,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 269.375,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67102,
    "c": 0.14501,
    "h": 305.4
  },
  "luminance": 0.28241
}

Semantic roles & 50–950 ramp

primary
#AB7CDC
secondary
#DAE9CB
accent
#C52074
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AB7CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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