#AB7CD2#AB7CD2

#AB7CD2 is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.6% C 0.133 H 308.3°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#AB7CD2
RGBrgb(171, 124, 210)
HSLhsl(273, 49%, 65%)
HSVhsv(273, 41%, 82%)
CMYKcmyk(18.6%, 41%, 0%, 17.6%)
CIE-LABlab(59.64, 34.49, -37.50)
CIE-LCHlch(59.64, 50.95, 312.61°)
OKLaboklab(66.6% 0.0823 -0.1041)
OKLCHoklch(66.6% 0.133 308.3)
XYZxyz(35.6329, 27.7268, 64.4349)
Luminance0.2773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7CD2 #A3D27C
analogous
#807CD2 #AB7CD2 #D27CCE
triadic
#AB7CD2 #D2AB7C #7CD2AB
tetradic
#AB7CD2 #D2807C #A3D27C #7CCED2
square
#AB7CD2 #D2807C #A3D27C #7CCED2
split-complementary
#AB7CD2 #CED27C #7CD280
monochromatic
#6F369D #8E4EC2 #AB7CD2 #C8AAE2 #E5D7F1

Accessibility & contrast

On white

3.21
#AB7CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#AB7CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7CD2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7CD2#FFFFFF#000000##000000
##AB7CD21.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ED5
Deuteranopia (green-blind)
#7490D0
Tritanopia (blue-blind)
#A6899D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab7cd2;
/* rgb */ color: rgb(171, 124, 210);
/* oklch */ color: oklch(66.6% 0.133 308.3);
Tailwind
colors: {
  custom: {
    50: '#c5a2e0',
    500: '#ab7cd2',
    950: '#000000',
  },
}
SCSS
$custom: #ab7cd2;
$custom-light: #c5a2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7cd2",
  "rgb": {
    "r": 171,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 272.791,
    "s": 48.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66601,
    "c": 0.13265,
    "h": 308.3
  },
  "luminance": 0.27726
}

Semantic roles & 50–950 ramp

primary
#AB7CD2
secondary
#D4E3C6
accent
#BC296C
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AB7CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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