#AB7BEC#AB7BEC

#AB7BEC is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.8% C 0.166 H 301.7°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#AB7BEC
RGBrgb(171, 123, 236)
HSLhsl(265, 75%, 70%)
HSVhsv(265, 48%, 93%)
CMYKcmyk(27.5%, 47.9%, 0%, 7.5%)
CIE-LABlab(60.68, 41.09, -50.40)
CIE-LCHlch(60.68, 65.03, 309.19°)
OKLaboklab(67.79% 0.0875 -0.1415)
OKLCHoklch(67.79% 0.166 301.7)
XYZxyz(39.0144, 28.8799, 82.8596)
Luminance0.2888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7BEC #BCEC7B
analogous
#7B83EC #AB7BEC #E47BEC
triadic
#AB7BEC #ECAB7B #7BECAB
tetradic
#AB7BEC #EC7B83 #BCEC7B #7BECE4
square
#AB7BEC #EC7B83 #BCEC7B #7BECE4
split-complementary
#AB7BEC #ECE47B #83EC7B
monochromatic
#691ECF #8946E4 #AB7BEC #CDB0F4 #EEE4FB

Accessibility & contrast

On white

3.10
#AB7BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#AB7BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7BEC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7BEC#FFFFFF#000000##000000
##AB7BEC1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5892F0
Deuteranopia (green-blind)
#6592E9
Tritanopia (blue-blind)
#9F8FA8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab7bec;
/* rgb */ color: rgb(171, 123, 236);
/* oklch */ color: oklch(67.8% 0.166 301.7);
Tailwind
colors: {
  custom: {
    50: '#c7a2f2',
    500: '#ab7bec',
    950: '#000000',
  },
}
SCSS
$custom: #ab7bec;
$custom-light: #c7a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7bec",
  "rgb": {
    "r": 171,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 265.487,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67787,
    "c": 0.16639,
    "h": 301.7
  },
  "luminance": 0.2888
}

Semantic roles & 50–950 ramp

primary
#AB7BEC
secondary
#E4F1D2
accent
#D70F82
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB7BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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