#AF84F9#AF84F9

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

Color values

HEX#AF84F9
RGBrgb(175, 132, 249)
HSLhsl(262, 91%, 75%)
HSVhsv(262, 47%, 98%)
CMYKcmyk(29.7%, 47%, 0%, 2.4%)
CIE-LABlab(63.72, 40.30, -52.72)
CIE-LCHlch(63.72, 66.36, 307.39°)
OKLaboklab(70.37% 0.082 -0.1482)
OKLCHoklch(70.37% 0.169 299)
XYZxyz(43.0253, 32.4557, 93.6020)
Luminance0.3246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF84F9 #CEF984
analogous
#8494F9 #AF84F9 #E984F9
triadic
#AF84F9 #F9AF84 #84F9AF
tetradic
#AF84F9 #F98494 #CEF984 #84F9E9
square
#AF84F9 #F98494 #CEF984 #84F9E9
split-complementary
#AF84F9 #F9E984 #94F984
monochromatic
#630FF3 #894AF6 #AF84F9 #D5BEFC #ECE2FE

Accessibility & contrast

On white

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

On black

7.49
#AF84F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF84F9
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF84F9#FFFFFF#000000##000000
##AF84F91.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFD
Deuteranopia (green-blind)
#6999F6
Tritanopia (blue-blind)
#A09AB3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af84f9;
/* rgb */ color: rgb(175, 132, 249);
/* oklch */ color: oklch(70.4% 0.169 299.0);
Tailwind
colors: {
  custom: {
    50: '#caa8fc',
    500: '#af84f9',
    950: '#000000',
  },
}
SCSS
$custom: #af84f9;
$custom-light: #caa8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af84f9",
  "rgb": {
    "r": 175,
    "g": 132,
    "b": 249
  },
  "hsl": {
    "h": 262.051,
    "s": 90.698,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70368,
    "c": 0.16938,
    "h": 299
  },
  "luminance": 0.32456
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF84F9

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

Preview Lab → · Contrast checker → · Palette generator →

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