#AB7EEB#AB7EEB

#AB7EEB is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.2% C 0.160 H 301.3°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#AB7EEB
RGBrgb(171, 126, 235)
HSLhsl(265, 73%, 71%)
HSVhsv(265, 46%, 92%)
CMYKcmyk(27.2%, 46.4%, 0%, 7.8%)
CIE-LABlab(61.29, 39.19, -48.87)
CIE-LCHlch(61.29, 62.64, 308.73°)
OKLaboklab(68.23% 0.0834 -0.1371)
OKLCHoklch(68.23% 0.16 301.3)
XYZxyz(39.2474, 29.5777, 82.2225)
Luminance0.2958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7EEB #BEEB7E
analogous
#7E87EB #AB7EEB #E27EEB
triadic
#AB7EEB #EBAB7E #7EEBAB
tetradic
#AB7EEB #EB7E87 #BEEB7E #7EEBE2
square
#AB7EEB #EB7E87 #BEEB7E #7EEBE2
split-complementary
#AB7EEB #EBE27E #87EB7E
monochromatic
#6820CF #8849E3 #AB7EEB #CEB3F3 #EEE5FB

Accessibility & contrast

On white

3.04
#AB7EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#AB7EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7EEB
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7EEB#FFFFFF#000000##000000
##AB7EEB1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E93EF
Deuteranopia (green-blind)
#6893E8
Tritanopia (blue-blind)
#9F91A9
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ab7eeb;
/* rgb */ color: rgb(171, 126, 235);
/* oklch */ color: oklch(68.2% 0.160 301.3);
Tailwind
colors: {
  custom: {
    50: '#c6a4f2',
    500: '#ab7eeb',
    950: '#000000',
  },
}
SCSS
$custom: #ab7eeb;
$custom-light: #c6a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7eeb",
  "rgb": {
    "r": 171,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 264.771,
    "s": 73.154,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68229,
    "c": 0.16046,
    "h": 301.3
  },
  "luminance": 0.29578
}

Semantic roles & 50–950 ramp

primary
#AB7EEB
secondary
#E5F1D4
accent
#D51084
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB7EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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