#AF84FF#AF84FF

#AF84FF is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.7% C 0.177 H 297.9°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#AF84FF
RGBrgb(175, 132, 255)
HSLhsl(261, 100%, 76%)
HSVhsv(261, 48%, 100%)
CMYKcmyk(31.4%, 48.2%, 0%, 0%)
CIE-LABlab(64.03, 41.77, -55.52)
CIE-LCHlch(64.03, 69.48, 306.96°)
OKLaboklab(70.7% 0.0826 -0.1564)
OKLCHoklch(70.7% 0.177 297.9)
XYZxyz(43.9761, 32.8360, 98.6095)
Luminance0.3284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF84FF #D4FF84
analogous
#8496FF #AF84FF #ED84FF
triadic
#AF84FF #FFAF84 #84FFAF
tetradic
#AF84FF #FF8496 #D4FF84 #84FFED
square
#AF84FF #FF8496 #D4FF84 #84FFED
split-complementary
#AF84FF #FFED84 #96FF84
monochromatic
#5F0AFF #8747FF #AF84FF #D7C1FF #EBE0FF

Accessibility & contrast

On white

2.78
#AF84FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#AF84FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF84FF
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF84FF#FFFFFF#000000##000000
##AF84FF1.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9BFF
Deuteranopia (green-blind)
#649AFC
Tritanopia (blue-blind)
#9E9BB6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af84ff;
/* rgb */ color: rgb(175, 132, 255);
/* oklch */ color: oklch(70.7% 0.177 297.9);
Tailwind
colors: {
  custom: {
    50: '#caa8ff',
    500: '#af84ff',
    950: '#000000',
  },
}
SCSS
$custom: #af84ff;
$custom-light: #caa8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#af84ff",
  "rgb": {
    "r": 175,
    "g": 132,
    "b": 255
  },
  "hsl": {
    "h": 260.976,
    "s": 100,
    "l": 75.882
  },
  "oklch": {
    "l": 0.70701,
    "c": 0.17687,
    "h": 297.9
  },
  "luminance": 0.32836
}

Semantic roles & 50–950 ramp

primary
#AF84FF
secondary
#EBF7D4
accent
#E60095
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #AF84FF

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

Preview Lab → · Contrast checker → · Palette generator →

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