#AB7BD2#AB7BD2

#AB7BD2 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.4% C 0.134 H 308.5°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AB7BD2
RGBrgb(171, 123, 210)
HSLhsl(273, 49%, 65%)
HSVhsv(273, 41%, 82%)
CMYKcmyk(18.6%, 41.4%, 0%, 17.6%)
CIE-LABlab(59.41, 35.05, -37.85)
CIE-LCHlch(59.41, 51.59, 312.80°)
OKLaboklab(66.43% 0.0837 -0.1051)
OKLCHoklch(66.43% 0.134 308.5)
XYZxyz(35.5082, 27.4774, 64.3934)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7BD2 #A2D27B
analogous
#7F7BD2 #AB7BD2 #D27BCE
triadic
#AB7BD2 #D2AB7B #7BD2AB
tetradic
#AB7BD2 #D27F7B #A2D27B #7BCED2
square
#AB7BD2 #D27F7B #A2D27B #7BCED2
split-complementary
#AB7BD2 #CED27B #7BD27F
monochromatic
#6F369D #8E4DC2 #AB7BD2 #C8A9E2 #E5D6F1

Accessibility & contrast

On white

3.23
#AB7BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#AB7BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7BD2
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7BD2#FFFFFF#000000##000000
##AB7BD21.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#688DD5
Deuteranopia (green-blind)
#7490D0
Tritanopia (blue-blind)
#A6889C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab7bd2;
/* rgb */ color: rgb(171, 123, 210);
/* oklch */ color: oklch(66.4% 0.134 308.5);
Tailwind
colors: {
  custom: {
    50: '#c5a2e0',
    500: '#ab7bd2',
    950: '#000000',
  },
}
SCSS
$custom: #ab7bd2;
$custom-light: #c5a2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7bd2",
  "rgb": {
    "r": 171,
    "g": 123,
    "b": 210
  },
  "hsl": {
    "h": 273.103,
    "s": 49.153,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66429,
    "c": 0.13436,
    "h": 308.5
  },
  "luminance": 0.27477
}

Semantic roles & 50–950 ramp

primary
#AB7BD2
secondary
#D3E3C6
accent
#BC296B
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AB7BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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