#AB7BE8#AB7BE8

#AB7BE8 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.6% C 0.161 H 302.6°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#AB7BE8
RGBrgb(171, 123, 232)
HSLhsl(266, 70%, 70%)
HSVhsv(266, 47%, 91%)
CMYKcmyk(26.3%, 47%, 0%, 9%)
CIE-LABlab(60.47, 40.14, -48.50)
CIE-LCHlch(60.47, 62.95, 309.61°)
OKLaboklab(67.57% 0.0871 -0.136)
OKLCHoklch(67.57% 0.161 302.6)
XYZxyz(38.4398, 28.6500, 79.8332)
Luminance0.2865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7BE8 #B8E87B
analogous
#7B82E8 #AB7BE8 #E27BE8
triadic
#AB7BE8 #E8AB7B #7BE8AB
tetradic
#AB7BE8 #E87B82 #B8E87B #7BE8E2
square
#AB7BE8 #E87B82 #B8E87B #7BE8E2
split-complementary
#AB7BE8 #E8E27B #82E87B
monochromatic
#6B23C6 #8A47DF #AB7BE8 #CCAFF1 #EDE3FA

Accessibility & contrast

On white

3.12
#AB7BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#AB7BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7BE8
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7BE8#FFFFFF#000000##000000
##AB7BE81.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B91EC
Deuteranopia (green-blind)
#6792E5
Tritanopia (blue-blind)
#A08EA7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab7be8;
/* rgb */ color: rgb(171, 123, 232);
/* oklch */ color: oklch(67.6% 0.161 302.6);
Tailwind
colors: {
  custom: {
    50: '#c6a2f0',
    500: '#ab7be8',
    950: '#000000',
  },
}
SCSS
$custom: #ab7be8;
$custom-light: #c6a2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7be8",
  "rgb": {
    "r": 171,
    "g": 123,
    "b": 232
  },
  "hsl": {
    "h": 266.422,
    "s": 70.323,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67568,
    "c": 0.16146,
    "h": 302.6
  },
  "luminance": 0.2865
}

Semantic roles & 50–950 ramp

primary
#AB7BE8
secondary
#E1EFD0
accent
#D2137E
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AB7BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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