#AF84F8#AF84F8

#AF84F8 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.3% C 0.168 H 299.1°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#AF84F8
RGBrgb(175, 132, 248)
HSLhsl(262, 89%, 75%)
HSVhsv(262, 47%, 97%)
CMYKcmyk(29.4%, 46.8%, 0%, 2.7%)
CIE-LABlab(63.67, 40.06, -52.26)
CIE-LCHlch(63.67, 65.84, 307.47°)
OKLaboklab(70.31% 0.0819 -0.1468)
OKLCHoklch(70.31% 0.168 299.1)
XYZxyz(42.8697, 32.3935, 92.7828)
Luminance0.3239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF84F8 #CDF884
analogous
#8493F8 #AF84F8 #E984F8
triadic
#AF84F8 #F8AF84 #84F8AF
tetradic
#AF84F8 #F88493 #CDF884 #84F8E9
square
#AF84F8 #F88493 #CDF884 #84F8E9
split-complementary
#AF84F8 #F8E984 #93F884
monochromatic
#6410F1 #894AF5 #AF84F8 #D5BEFB #ECE2FD

Accessibility & contrast

On white

2.81
#AF84F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#AF84F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF84F8
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF84F8#FFFFFF#000000##000000
##AF84F81.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFC
Deuteranopia (green-blind)
#6999F5
Tritanopia (blue-blind)
#A099B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af84f8;
/* rgb */ color: rgb(175, 132, 248);
/* oklch */ color: oklch(70.3% 0.168 299.1);
Tailwind
colors: {
  custom: {
    50: '#caa8fb',
    500: '#af84f8',
    950: '#000000',
  },
}
SCSS
$custom: #af84f8;
$custom-light: #caa8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#af84f8",
  "rgb": {
    "r": 175,
    "g": 132,
    "b": 248
  },
  "hsl": {
    "h": 262.241,
    "s": 89.231,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70313,
    "c": 0.16813,
    "h": 299.1
  },
  "luminance": 0.32394
}

Semantic roles & 50–950 ramp

primary
#AF84F8
secondary
#EAF5D6
accent
#E60090
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AF84F8

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

Preview Lab → · Contrast checker → · Palette generator →

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