#AF84FC#AF84FC

#AF84FC is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.5% C 0.173 H 298.4°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#AF84FC
RGBrgb(175, 132, 252)
HSLhsl(262, 95%, 75%)
HSVhsv(262, 48%, 99%)
CMYKcmyk(30.6%, 47.6%, 0%, 1.2%)
CIE-LABlab(63.87, 41.03, -54.13)
CIE-LCHlch(63.87, 67.92, 307.17°)
OKLaboklab(70.53% 0.0823 -0.1523)
OKLCHoklch(70.53% 0.173 298.4)
XYZxyz(43.4969, 32.6444, 96.0860)
Luminance0.3265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF84FC #D1FC84
analogous
#8495FC #AF84FC #EB84FC
triadic
#AF84FC #FCAF84 #84FCAF
tetradic
#AF84FC #FC8495 #D1FC84 #84FCEB
square
#AF84FC #FC8495 #D1FC84 #84FCEB
split-complementary
#AF84FC #FCEB84 #95FC84
monochromatic
#610DF9 #8848FB #AF84FC #D6C0FD #ECE1FE

Accessibility & contrast

On white

2.79
#AF84FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#AF84FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF84FC
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF84FC#FFFFFF#000000##000000
##AF84FC1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#669AF9
Tritanopia (blue-blind)
#9F9AB4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af84fc;
/* rgb */ color: rgb(175, 132, 252);
/* oklch */ color: oklch(70.5% 0.173 298.4);
Tailwind
colors: {
  custom: {
    50: '#caa8fe',
    500: '#af84fc',
    950: '#000000',
  },
}
SCSS
$custom: #af84fc;
$custom-light: #caa8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#af84fc",
  "rgb": {
    "r": 175,
    "g": 132,
    "b": 252
  },
  "hsl": {
    "h": 261.5,
    "s": 95.238,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70534,
    "c": 0.17313,
    "h": 298.4
  },
  "luminance": 0.32645
}

Semantic roles & 50–950 ramp

primary
#AF84FC
secondary
#EAF6D5
accent
#E60093
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AF84FC

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

Preview Lab → · Contrast checker → · Palette generator →

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