#AB84EB#AB84EB

#AB84EB is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.2% C 0.151 H 299.9°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#AB84EB
RGBrgb(171, 132, 235)
HSLhsl(263, 72%, 72%)
HSVhsv(263, 44%, 92%)
CMYKcmyk(27.2%, 43.8%, 0%, 7.8%)
CIE-LABlab(62.64, 35.84, -46.73)
CIE-LCHlch(62.64, 58.89, 307.49°)
OKLaboklab(69.24% 0.0754 -0.1308)
OKLCHoklch(69.24% 0.151 299.9)
XYZxyz(40.0378, 31.1584, 82.4860)
Luminance0.3116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB84EB #C4EB84
analogous
#8491EB #AB84EB #DE84EB
triadic
#AB84EB #EBAB84 #84EBAB
tetradic
#AB84EB #EB8491 #C4EB84 #84EBDE
square
#AB84EB #EB8491 #C4EB84 #84EBDE
split-complementary
#AB84EB #EBDE84 #91EB84
monochromatic
#6522D2 #874FE2 #AB84EB #CFB9F4 #EDE5FB

Accessibility & contrast

On white

2.90
#AB84EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#AB84EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB84EB
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB84EB#FFFFFF#000000##000000
##AB84EB1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EF
Deuteranopia (green-blind)
#6F97E8
Tritanopia (blue-blind)
#9F96AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ab84eb;
/* rgb */ color: rgb(171, 132, 235);
/* oklch */ color: oklch(69.2% 0.151 299.9);
Tailwind
colors: {
  custom: {
    50: '#c6a8f2',
    500: '#ab84eb',
    950: '#000000',
  },
}
SCSS
$custom: #ab84eb;
$custom-light: #c6a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab84eb",
  "rgb": {
    "r": 171,
    "g": 132,
    "b": 235
  },
  "hsl": {
    "h": 262.718,
    "s": 72.028,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69244,
    "c": 0.151,
    "h": 299.9
  },
  "luminance": 0.31159
}

Semantic roles & 50–950 ramp

primary
#AB84EB
secondary
#E9F2D8
accent
#D4118A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AB84EB

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

Preview Lab → · Contrast checker → · Palette generator →

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