#AB84F5#AB84F5

#AB84F5 is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.8% C 0.164 H 297.9°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#AB84F5
RGBrgb(171, 132, 245)
HSLhsl(261, 85%, 74%)
HSVhsv(261, 46%, 96%)
CMYKcmyk(30.2%, 46.1%, 0%, 3.9%)
CIE-LABlab(63.14, 38.28, -51.47)
CIE-LCHlch(63.14, 64.14, 306.64°)
OKLaboklab(69.78% 0.0767 -0.1446)
OKLCHoklch(69.78% 0.164 297.9)
XYZxyz(41.5233, 31.7526, 90.3097)
Luminance0.3175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB84F5 #CEF584
analogous
#8496F5 #AB84F5 #E484F5
triadic
#AB84F5 #F5AB84 #84F5AB
tetradic
#AB84F5 #F58496 #CEF584 #84F5E4
square
#AB84F5 #F58496 #CEF584 #84F5E4
split-complementary
#AB84F5 #F5E484 #96F584
monochromatic
#5E13EB #844BF0 #AB84F5 #D2BDFA #ECE3FD

Accessibility & contrast

On white

2.86
#AB84F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#AB84F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB84F5
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB84F5#FFFFFF#000000##000000
##AB84F51.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6099F9
Deuteranopia (green-blind)
#6998F2
Tritanopia (blue-blind)
#9C99B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab84f5;
/* rgb */ color: rgb(171, 132, 245);
/* oklch */ color: oklch(69.8% 0.164 297.9);
Tailwind
colors: {
  custom: {
    50: '#c7a8f9',
    500: '#ab84f5',
    950: '#000000',
  },
}
SCSS
$custom: #ab84f5;
$custom-light: #c7a8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab84f5",
  "rgb": {
    "r": 171,
    "g": 132,
    "b": 245
  },
  "hsl": {
    "h": 260.708,
    "s": 84.962,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69779,
    "c": 0.16374,
    "h": 297.9
  },
  "luminance": 0.31753
}

Semantic roles & 50–950 ramp

primary
#AB84F5
secondary
#EAF5D6
accent
#E10495
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AB84F5

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

Preview Lab → · Contrast checker → · Palette generator →

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