#AF84EB#AF84EB

#AF84EB is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.6% C 0.152 H 301.9°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#AF84EB
RGBrgb(175, 132, 235)
HSLhsl(265, 72%, 72%)
HSVhsv(265, 44%, 92%)
CMYKcmyk(25.5%, 43.8%, 0%, 7.8%)
CIE-LABlab(63.02, 36.94, -46.10)
CIE-LCHlch(63.02, 59.08, 308.70°)
OKLaboklab(69.62% 0.0801 -0.1289)
OKLCHoklch(69.62% 0.152 301.9)
XYZxyz(40.9225, 31.6146, 82.5275)
Luminance0.3161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF84EB #C0EB84
analogous
#848DEB #AF84EB #E384EB
triadic
#AF84EB #EBAF84 #84EBAF
tetradic
#AF84EB #EB848D #C0EB84 #84EBE3
square
#AF84EB #EB848D #C0EB84 #84EBE3
split-complementary
#AF84EB #EBE384 #8DEB84
monochromatic
#6C22D2 #8D4FE2 #AF84EB #D1B9F4 #EEE5FB

Accessibility & contrast

On white

2.87
#AF84EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#AF84EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF84EB
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF84EB#FFFFFF#000000##000000
##AF84EB1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EF
Deuteranopia (green-blind)
#7198E8
Tritanopia (blue-blind)
#A496AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af84eb;
/* rgb */ color: rgb(175, 132, 235);
/* oklch */ color: oklch(69.6% 0.152 301.9);
Tailwind
colors: {
  custom: {
    50: '#c9a8f2',
    500: '#af84eb',
    950: '#000000',
  },
}
SCSS
$custom: #af84eb;
$custom-light: #c9a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#af84eb",
  "rgb": {
    "r": 175,
    "g": 132,
    "b": 235
  },
  "hsl": {
    "h": 265.049,
    "s": 72.028,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69621,
    "c": 0.1518,
    "h": 301.9
  },
  "luminance": 0.31615
}

Semantic roles & 50–950 ramp

primary
#AF84EB
secondary
#E8F2D8
accent
#D41183
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AF84EB

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

Preview Lab → · Contrast checker → · Palette generator →

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