#AF83EC#AF83EC

#AF83EC is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.5% C 0.155 H 301.9°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#AF83EC
RGBrgb(175, 131, 236)
HSLhsl(265, 73%, 72%)
HSVhsv(265, 44%, 93%)
CMYKcmyk(25.8%, 44.5%, 0%, 7.5%)
CIE-LABlab(62.85, 37.73, -46.94)
CIE-LCHlch(62.85, 60.22, 308.79°)
OKLaboklab(69.5% 0.0816 -0.1313)
OKLCHoklch(69.5% 0.155 301.9)
XYZxyz(40.9325, 31.4026, 83.2455)
Luminance0.3140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF83EC #C0EC83
analogous
#838CEC #AF83EC #E483EC
triadic
#AF83EC #ECAF83 #83ECAF
tetradic
#AF83EC #EC838C #C0EC83 #83ECE4
square
#AF83EC #EC838C #C0EC83 #83ECE4
split-complementary
#AF83EC #ECE483 #8CEC83
monochromatic
#6C20D4 #8D4EE4 #AF83EC #D1B8F4 #EEE4FB

Accessibility & contrast

On white

2.88
#AF83EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#AF83EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF83EC
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF83EC#FFFFFF#000000##000000
##AF83EC1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697F0
Deuteranopia (green-blind)
#7098E9
Tritanopia (blue-blind)
#A495AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af83ec;
/* rgb */ color: rgb(175, 131, 236);
/* oklch */ color: oklch(69.5% 0.155 301.9);
Tailwind
colors: {
  custom: {
    50: '#c9a8f2',
    500: '#af83ec',
    950: '#000000',
  },
}
SCSS
$custom: #af83ec;
$custom-light: #c9a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#af83ec",
  "rgb": {
    "r": 175,
    "g": 131,
    "b": 236
  },
  "hsl": {
    "h": 265.143,
    "s": 73.427,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69504,
    "c": 0.15465,
    "h": 301.9
  },
  "luminance": 0.31403
}

Semantic roles & 50–950 ramp

primary
#AF83EC
secondary
#E8F3D8
accent
#D61083
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AF83EC

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

Preview Lab → · Contrast checker → · Palette generator →

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