#AB84F9#AB84F9

#AB84F9 is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.0% C 0.169 H 297.2°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#AB84F9
RGBrgb(171, 132, 249)
HSLhsl(260, 91%, 75%)
HSVhsv(260, 47%, 98%)
CMYKcmyk(31.3%, 47%, 0%, 2.4%)
CIE-LABlab(63.34, 39.27, -53.34)
CIE-LCHlch(63.34, 66.24, 306.36°)
OKLaboklab(70% 0.0772 -0.1501)
OKLCHoklch(70% 0.169 297.2)
XYZxyz(42.1406, 31.9995, 93.5605)
Luminance0.3200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB84F9 #D2F984
analogous
#8498F9 #AB84F9 #E684F9
triadic
#AB84F9 #F9AB84 #84F9AB
tetradic
#AB84F9 #F98498 #D2F984 #84F9E6
square
#AB84F9 #F98498 #D2F984 #84F9E6
split-complementary
#AB84F9 #F9E684 #98F984
monochromatic
#5B0FF3 #834AF6 #AB84F9 #D3BEFC #EBE2FE

Accessibility & contrast

On white

2.84
#AB84F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#AB84F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB84F9
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB84F9#FFFFFF#000000##000000
##AB84F91.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFD
Deuteranopia (green-blind)
#6698F6
Tritanopia (blue-blind)
#9A9AB3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab84f9;
/* rgb */ color: rgb(171, 132, 249);
/* oklch */ color: oklch(70.0% 0.169 297.2);
Tailwind
colors: {
  custom: {
    50: '#c7a8fc',
    500: '#ab84f9',
    950: '#000000',
  },
}
SCSS
$custom: #ab84f9;
$custom-light: #c7a8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab84f9",
  "rgb": {
    "r": 171,
    "g": 132,
    "b": 249
  },
  "hsl": {
    "h": 260,
    "s": 90.698,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69999,
    "c": 0.16881,
    "h": 297.2
  },
  "luminance": 0.32
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB84F9

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

Preview Lab → · Contrast checker → · Palette generator →

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