#AF84F3#AF84F3

#AF84F3 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.0% C 0.162 H 300.1°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#AF84F3
RGBrgb(175, 132, 243)
HSLhsl(263, 82%, 74%)
HSVhsv(263, 46%, 95%)
CMYKcmyk(28%, 45.7%, 0%, 4.7%)
CIE-LABlab(63.41, 38.85, -49.90)
CIE-LCHlch(63.41, 63.24, 307.90°)
OKLaboklab(70.04% 0.0813 -0.14)
OKLCHoklch(70.04% 0.162 300.1)
XYZxyz(42.1044, 32.0873, 88.7519)
Luminance0.3209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF84F3 #C8F384
analogous
#8490F3 #AF84F3 #E684F3
triadic
#AF84F3 #F3AF84 #84F3AF
tetradic
#AF84F3 #F38490 #C8F384 #84F3E6
square
#AF84F3 #F38490 #C8F384 #84F3E6
split-complementary
#AF84F3 #F3E684 #90F384
monochromatic
#6716E6 #8B4CEE #AF84F3 #D3BCF8 #EDE3FC

Accessibility & contrast

On white

2.83
#AF84F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#AF84F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF84F3
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF84F3#FFFFFF#000000##000000
##AF84F31.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F7
Deuteranopia (green-blind)
#6D99F0
Tritanopia (blue-blind)
#A298B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af84f3;
/* rgb */ color: rgb(175, 132, 243);
/* oklch */ color: oklch(70.0% 0.162 300.1);
Tailwind
colors: {
  custom: {
    50: '#c9a8f7',
    500: '#af84f3',
    950: '#000000',
  },
}
SCSS
$custom: #af84f3;
$custom-light: #c9a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#af84f3",
  "rgb": {
    "r": 175,
    "g": 132,
    "b": 243
  },
  "hsl": {
    "h": 263.243,
    "s": 82.222,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70043,
    "c": 0.16186,
    "h": 300.1
  },
  "luminance": 0.32088
}

Semantic roles & 50–950 ramp

primary
#AF84F3
secondary
#E9F4D7
accent
#DF078B
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AF84F3

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

Preview Lab → · Contrast checker → · Palette generator →

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