#AF83EB#AF83EB

#AF83EB is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.5% C 0.153 H 302.1°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#AF83EB
RGBrgb(175, 131, 235)
HSLhsl(265, 72%, 72%)
HSVhsv(265, 44%, 92%)
CMYKcmyk(25.5%, 44.3%, 0%, 7.8%)
CIE-LABlab(62.80, 37.49, -46.46)
CIE-LCHlch(62.80, 59.70, 308.90°)
OKLaboklab(69.45% 0.0815 -0.13)
OKLCHoklch(69.45% 0.153 302.1)
XYZxyz(40.7876, 31.3447, 82.4825)
Luminance0.3135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF83EB #BFEB83
analogous
#838BEB #AF83EB #E383EB
triadic
#AF83EB #EBAF83 #83EBAF
tetradic
#AF83EB #EB838B #BFEB83 #83EBE3
square
#AF83EB #EB838B #BFEB83 #83EBE3
split-complementary
#AF83EB #EBE383 #8BEB83
monochromatic
#6C22D2 #8D4EE2 #AF83EB #D1B8F4 #EEE5FB

Accessibility & contrast

On white

2.89
#AF83EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#AF83EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF83EB
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF83EB#FFFFFF#000000##000000
##AF83EB1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af83eb;
/* rgb */ color: rgb(175, 131, 235);
/* oklch */ color: oklch(69.5% 0.153 302.1);
Tailwind
colors: {
  custom: {
    50: '#c9a8f2',
    500: '#af83eb',
    950: '#000000',
  },
}
SCSS
$custom: #af83eb;
$custom-light: #c9a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#af83eb",
  "rgb": {
    "r": 175,
    "g": 131,
    "b": 235
  },
  "hsl": {
    "h": 265.385,
    "s": 72.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69451,
    "c": 0.15339,
    "h": 302.1
  },
  "luminance": 0.31345
}

Semantic roles & 50–950 ramp

primary
#AF83EB
secondary
#E7F2D8
accent
#D41182
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AF83EB

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

Preview Lab → · Contrast checker → · Palette generator →

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