#AF84F7#AF84F7

#AF84F7 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.3% C 0.167 H 299.3°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#AF84F7
RGBrgb(175, 132, 247)
HSLhsl(262, 88%, 74%)
HSVhsv(262, 47%, 97%)
CMYKcmyk(29.1%, 46.6%, 0%, 3.1%)
CIE-LABlab(63.62, 39.81, -51.79)
CIE-LCHlch(63.62, 65.32, 307.55°)
OKLaboklab(70.26% 0.0818 -0.1455)
OKLCHoklch(70.26% 0.167 299.3)
XYZxyz(42.7150, 32.3316, 91.9679)
Luminance0.3233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF84F7 #CCF784
analogous
#8493F7 #AF84F7 #E984F7
triadic
#AF84F7 #F7AF84 #84F7AF
tetradic
#AF84F7 #F78493 #CCF784 #84F7E9
square
#AF84F7 #F78493 #CCF784 #84F7E9
split-complementary
#AF84F7 #F7E984 #93F784
monochromatic
#6411F0 #8A4BF3 #AF84F7 #D4BDFB #ECE2FD

Accessibility & contrast

On white

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

On black

7.47
#AF84F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF84F7
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF84F7#FFFFFF#000000##000000
##AF84F71.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFB
Deuteranopia (green-blind)
#6A99F4
Tritanopia (blue-blind)
#A199B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af84f7;
/* rgb */ color: rgb(175, 132, 247);
/* oklch */ color: oklch(70.3% 0.167 299.3);
Tailwind
colors: {
  custom: {
    50: '#c9a8fa',
    500: '#af84f7',
    950: '#000000',
  },
}
SCSS
$custom: #af84f7;
$custom-light: #c9a8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#af84f7",
  "rgb": {
    "r": 175,
    "g": 132,
    "b": 247
  },
  "hsl": {
    "h": 262.435,
    "s": 87.786,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70259,
    "c": 0.16687,
    "h": 299.3
  },
  "luminance": 0.32332
}

Semantic roles & 50–950 ramp

primary
#AF84F7
secondary
#E9F5D6
accent
#E4018F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AF84F7

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

Preview Lab → · Contrast checker → · Palette generator →

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