#AF84FA#AF84FA

#AF84FA is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.4% C 0.171 H 298.8°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#AF84FA
RGBrgb(175, 132, 250)
HSLhsl(262, 92%, 75%)
HSVhsv(262, 47%, 98%)
CMYKcmyk(30%, 47.2%, 0%, 2%)
CIE-LABlab(63.77, 40.55, -53.19)
CIE-LCHlch(63.77, 66.88, 307.32°)
OKLaboklab(70.42% 0.0821 -0.1496)
OKLCHoklch(70.42% 0.171 298.8)
XYZxyz(43.1817, 32.5182, 94.4256)
Luminance0.3252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF84FA #CFFA84
analogous
#8494FA #AF84FA #EA84FA
triadic
#AF84FA #FAAF84 #84FAAF
tetradic
#AF84FA #FA8494 #CFFA84 #84FAEA
square
#AF84FA #FA8494 #CFFA84 #84FAEA
split-complementary
#AF84FA #FAEA84 #94FA84
monochromatic
#620EF5 #8949F8 #AF84FA #D5BFFC #ECE2FE

Accessibility & contrast

On white

2.80
#AF84FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#AF84FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF84FA
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF84FA#FFFFFF#000000##000000
##AF84FA1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFE
Deuteranopia (green-blind)
#6899F7
Tritanopia (blue-blind)
#A09AB3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af84fa;
/* rgb */ color: rgb(175, 132, 250);
/* oklch */ color: oklch(70.4% 0.171 298.8);
Tailwind
colors: {
  custom: {
    50: '#caa8fc',
    500: '#af84fa',
    950: '#000000',
  },
}
SCSS
$custom: #af84fa;
$custom-light: #caa8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af84fa",
  "rgb": {
    "r": 175,
    "g": 132,
    "b": 250
  },
  "hsl": {
    "h": 261.864,
    "s": 92.188,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70423,
    "c": 0.17063,
    "h": 298.8
  },
  "luminance": 0.32519
}

Semantic roles & 50–950 ramp

primary
#AF84FA
secondary
#EAF6D5
accent
#E60092
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AF84FA

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

Preview Lab → · Contrast checker → · Palette generator →

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