#AB84F8#AB84F8

#AB84F8 is a light, vivid violet. Relative luminance 0.319; OKLCH L 69.9% C 0.168 H 297.4°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#AB84F8
RGBrgb(171, 132, 248)
HSLhsl(260, 89%, 75%)
HSVhsv(260, 47%, 97%)
CMYKcmyk(31%, 46.8%, 0%, 2.7%)
CIE-LABlab(63.29, 39.02, -52.88)
CIE-LCHlch(63.29, 65.71, 306.43°)
OKLaboklab(69.94% 0.0771 -0.1487)
OKLCHoklch(69.94% 0.168 297.4)
XYZxyz(41.9850, 31.9373, 92.7413)
Luminance0.3194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB84F8 #D1F884
analogous
#8497F8 #AB84F8 #E584F8
triadic
#AB84F8 #F8AB84 #84F8AB
tetradic
#AB84F8 #F88497 #D1F884 #84F8E5
square
#AB84F8 #F88497 #D1F884 #84F8E5
split-complementary
#AB84F8 #F8E584 #97F884
monochromatic
#5C10F1 #834AF5 #AB84F8 #D3BEFB #EBE2FD

Accessibility & contrast

On white

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

On black

7.39
#AB84F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB84F8
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB84F8#FFFFFF#000000##000000
##AB84F81.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFC
Deuteranopia (green-blind)
#6698F5
Tritanopia (blue-blind)
#9B9AB2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab84f8;
/* rgb */ color: rgb(171, 132, 248);
/* oklch */ color: oklch(69.9% 0.168 297.4);
Tailwind
colors: {
  custom: {
    50: '#c7a8fb',
    500: '#ab84f8',
    950: '#000000',
  },
}
SCSS
$custom: #ab84f8;
$custom-light: #c7a8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab84f8",
  "rgb": {
    "r": 171,
    "g": 132,
    "b": 248
  },
  "hsl": {
    "h": 260.172,
    "s": 89.231,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69944,
    "c": 0.16755,
    "h": 297.4
  },
  "luminance": 0.31938
}

Semantic roles & 50–950 ramp

primary
#AB84F8
secondary
#EBF5D6
accent
#E60098
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AB84F8

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

Preview Lab → · Contrast checker → · Palette generator →

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