#AB84FA#AB84FA

#AB84FA is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.1% C 0.170 H 297.0°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#AB84FA
RGBrgb(171, 132, 250)
HSLhsl(260, 92%, 75%)
HSVhsv(260, 47%, 98%)
CMYKcmyk(31.6%, 47.2%, 0%, 2%)
CIE-LABlab(63.39, 39.52, -53.81)
CIE-LCHlch(63.39, 66.76, 306.29°)
OKLaboklab(70.06% 0.0773 -0.1515)
OKLCHoklch(70.06% 0.17 297)
XYZxyz(42.2969, 32.0621, 94.3841)
Luminance0.3206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB84FA #D3FA84
analogous
#8498FA #AB84FA #E684FA
triadic
#AB84FA #FAAB84 #84FAAB
tetradic
#AB84FA #FA8498 #D3FA84 #84FAE6
square
#AB84FA #FA8498 #D3FA84 #84FAE6
split-complementary
#AB84FA #FAE684 #98FA84
monochromatic
#5B0EF5 #8349F8 #AB84FA #D3BFFC #EBE2FE

Accessibility & contrast

On white

2.83
#AB84FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#AB84FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB84FA
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB84FA#FFFFFF#000000##000000
##AB84FA1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFE
Deuteranopia (green-blind)
#6598F7
Tritanopia (blue-blind)
#9A9AB3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab84fa;
/* rgb */ color: rgb(171, 132, 250);
/* oklch */ color: oklch(70.1% 0.170 297.0);
Tailwind
colors: {
  custom: {
    50: '#c7a8fc',
    500: '#ab84fa',
    950: '#000000',
  },
}
SCSS
$custom: #ab84fa;
$custom-light: #c7a8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab84fa",
  "rgb": {
    "r": 171,
    "g": 132,
    "b": 250
  },
  "hsl": {
    "h": 259.831,
    "s": 92.188,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70055,
    "c": 0.17008,
    "h": 297
  },
  "luminance": 0.32063
}

Semantic roles & 50–950 ramp

primary
#AB84FA
secondary
#EBF6D5
accent
#E6009A
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AB84FA

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

Preview Lab → · Contrast checker → · Palette generator →

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