#AF84EF#AF84EF

#AF84EF is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.8% C 0.157 H 301.0°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#AF84EF
RGBrgb(175, 132, 239)
HSLhsl(264, 77%, 73%)
HSVhsv(264, 45%, 94%)
CMYKcmyk(26.8%, 44.8%, 0%, 6.3%)
CIE-LABlab(63.22, 37.89, -48.01)
CIE-LCHlch(63.22, 61.16, 308.28°)
OKLaboklab(69.83% 0.0807 -0.1345)
OKLCHoklch(69.83% 0.157 301)
XYZxyz(41.5069, 31.8483, 85.6052)
Luminance0.3185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF84EF #C4EF84
analogous
#848FEF #AF84EF #E484EF
triadic
#AF84EF #EFAF84 #84EFAF
tetradic
#AF84EF #EF848F #C4EF84 #84EFE4
square
#AF84EF #EF848F #C4EF84 #84EFE4
split-complementary
#AF84EF #EFE484 #8FEF84
monochromatic
#6A1DDC #8C4EE8 #AF84EF #D2BAF6 #EDE4FB

Accessibility & contrast

On white

2.85
#AF84EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#AF84EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF84EF
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF84EF#FFFFFF#000000##000000
##AF84EF1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F3
Deuteranopia (green-blind)
#6F98EC
Tritanopia (blue-blind)
#A397AE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af84ef;
/* rgb */ color: rgb(175, 132, 239);
/* oklch */ color: oklch(69.8% 0.157 301.0);
Tailwind
colors: {
  custom: {
    50: '#c9a8f5',
    500: '#af84ef',
    950: '#000000',
  },
}
SCSS
$custom: #af84ef;
$custom-light: #c9a8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#af84ef",
  "rgb": {
    "r": 175,
    "g": 132,
    "b": 239
  },
  "hsl": {
    "h": 264.112,
    "s": 76.978,
    "l": 72.745
  },
  "oklch": {
    "l": 0.6983,
    "c": 0.15683,
    "h": 301
  },
  "luminance": 0.31848
}

Semantic roles & 50–950 ramp

primary
#AF84EF
secondary
#E8F3D8
accent
#D90C87
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AF84EF

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

Preview Lab → · Contrast checker → · Palette generator →

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