#AB7BCD#AB7BCD

#AB7BCD is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.2% C 0.128 H 310.2°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AB7BCD
RGBrgb(171, 123, 205)
HSLhsl(275, 45%, 64%)
HSVhsv(275, 40%, 80%)
CMYKcmyk(16.6%, 40%, 0%, 19.6%)
CIE-LABlab(59.19, 33.94, -35.39)
CIE-LCHlch(59.19, 49.03, 313.80°)
OKLaboklab(66.19% 0.0827 -0.098)
OKLCHoklch(66.19% 0.128 310.2)
XYZxyz(34.8950, 27.2321, 61.1638)
Luminance0.2723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7BCD #9DCD7B
analogous
#827BCD #AB7BCD #CD7BC6
triadic
#AB7BCD #CDAB7B #7BCDAB
tetradic
#AB7BCD #CD827B #9DCD7B #7BC6CD
square
#AB7BCD #CD827B #9DCD7B #7BC6CD
split-complementary
#AB7BCD #C6CD7B #7BCD82
monochromatic
#6F3895 #8F4FBC #AB7BCD #C7A7DE #E3D4EF

Accessibility & contrast

On white

3.26
#AB7BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#AB7BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7BCD
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7BCD#FFFFFF#000000##000000
##AB7BCD1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8CD0
Deuteranopia (green-blind)
#768FCB
Tritanopia (blue-blind)
#A7879A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab7bcd;
/* rgb */ color: rgb(171, 123, 205);
/* oklch */ color: oklch(66.2% 0.128 310.2);
Tailwind
colors: {
  custom: {
    50: '#c5a2dc',
    500: '#ab7bcd',
    950: '#000000',
  },
}
SCSS
$custom: #ab7bcd;
$custom-light: #c5a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7bcd",
  "rgb": {
    "r": 171,
    "g": 123,
    "b": 205
  },
  "hsl": {
    "h": 275.122,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66186,
    "c": 0.12824,
    "h": 310.2
  },
  "luminance": 0.27232
}

Semantic roles & 50–950 ramp

primary
#AB7BCD
secondary
#CFE0C4
accent
#B82D67
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AB7BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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