#AB84EF#AB84EF

#AB84EF is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.5% C 0.156 H 299.1°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#AB84EF
RGBrgb(171, 132, 239)
HSLhsl(262, 77%, 73%)
HSVhsv(262, 45%, 94%)
CMYKcmyk(28.5%, 44.8%, 0%, 6.3%)
CIE-LABlab(62.84, 36.81, -48.63)
CIE-LCHlch(62.84, 60.99, 307.12°)
OKLaboklab(69.46% 0.076 -0.1364)
OKLCHoklch(69.46% 0.156 299.1)
XYZxyz(40.6222, 31.3922, 85.5638)
Luminance0.3139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB84EF #C8EF84
analogous
#8493EF #AB84EF #E084EF
triadic
#AB84EF #EFAB84 #84EFAB
tetradic
#AB84EF #EF8493 #C8EF84 #84EFE0
square
#AB84EF #EF8493 #C8EF84 #84EFE0
split-complementary
#AB84EF #EFE084 #93EF84
monochromatic
#621DDC #864EE8 #AB84EF #D0BAF6 #EDE4FB

Accessibility & contrast

On white

2.89
#AB84EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#AB84EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB84EF
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB84EF#FFFFFF#000000##000000
##AB84EF1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F3
Deuteranopia (green-blind)
#6C97EC
Tritanopia (blue-blind)
#9D97AE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab84ef;
/* rgb */ color: rgb(171, 132, 239);
/* oklch */ color: oklch(69.5% 0.156 299.1);
Tailwind
colors: {
  custom: {
    50: '#c6a8f5',
    500: '#ab84ef',
    950: '#000000',
  },
}
SCSS
$custom: #ab84ef;
$custom-light: #c6a8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab84ef",
  "rgb": {
    "r": 171,
    "g": 132,
    "b": 239
  },
  "hsl": {
    "h": 261.869,
    "s": 76.978,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69456,
    "c": 0.1561,
    "h": 299.1
  },
  "luminance": 0.31392
}

Semantic roles & 50–950 ramp

primary
#AB84EF
secondary
#E9F3D8
accent
#D90C8F
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #AB84EF

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

Preview Lab → · Contrast checker → · Palette generator →

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