#AF84EA#AF84EA

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

Color values

HEX#AF84EA
RGBrgb(175, 132, 234)
HSLhsl(265, 71%, 72%)
HSVhsv(265, 44%, 92%)
CMYKcmyk(25.2%, 43.6%, 0%, 8.2%)
CIE-LABlab(62.98, 36.70, -45.63)
CIE-LCHlch(62.98, 58.56, 308.81°)
OKLaboklab(69.57% 0.08 -0.1275)
OKLCHoklch(69.57% 0.151 302.1)
XYZxyz(40.7785, 31.5570, 81.7687)
Luminance0.3156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF84EA #BFEA84
analogous
#848CEA #AF84EA #E284EA
triadic
#AF84EA #EAAF84 #84EAAF
tetradic
#AF84EA #EA848C #BFEA84 #84EAE2
square
#AF84EA #EA848C #BFEA84 #84EAE2
split-complementary
#AF84EA #EAE284 #8CEA84
monochromatic
#6C24D0 #8D50E1 #AF84EA #D1B8F3 #EEE5FB

Accessibility & contrast

On white

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

On black

7.31
#AF84EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF84EA
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF84EA#FFFFFF#000000##000000
##AF84EA1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EE
Deuteranopia (green-blind)
#7298E7
Tritanopia (blue-blind)
#A495AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af84ea;
/* rgb */ color: rgb(175, 132, 234);
/* oklch */ color: oklch(69.6% 0.151 302.1);
Tailwind
colors: {
  custom: {
    50: '#c9a8f1',
    500: '#af84ea',
    950: '#000000',
  },
}
SCSS
$custom: #af84ea;
$custom-light: #c9a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af84ea",
  "rgb": {
    "r": 175,
    "g": 132,
    "b": 234
  },
  "hsl": {
    "h": 265.294,
    "s": 70.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69569,
    "c": 0.15054,
    "h": 302.1
  },
  "luminance": 0.31557
}

Semantic roles & 50–950 ramp

primary
#AF84EA
secondary
#E7F2D8
accent
#D31382
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AF84EA

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

Preview Lab → · Contrast checker → · Palette generator →

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