#AF83EA#AF83EA

#AF83EA is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.4% C 0.152 H 302.3°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#AF83EA
RGBrgb(175, 131, 234)
HSLhsl(266, 71%, 72%)
HSVhsv(266, 44%, 92%)
CMYKcmyk(25.2%, 44%, 0%, 8.2%)
CIE-LABlab(62.75, 37.26, -45.98)
CIE-LCHlch(62.75, 59.18, 309.02°)
OKLaboklab(69.4% 0.0813 -0.1286)
OKLCHoklch(69.4% 0.152 302.3)
XYZxyz(40.6435, 31.2871, 81.7237)
Luminance0.3129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF83EA #BEEA83
analogous
#838BEA #AF83EA #E283EA
triadic
#AF83EA #EAAF83 #83EAAF
tetradic
#AF83EA #EA838B #BEEA83 #83EAE2
square
#AF83EA #EA838B #BEEA83 #83EAE2
split-complementary
#AF83EA #EAE283 #8BEA83
monochromatic
#6D23CF #8D4FE1 #AF83EA #D1B7F3 #EEE5FB

Accessibility & contrast

On white

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

On black

7.26
#AF83EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF83EA
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF83EA#FFFFFF#000000##000000
##AF83EA1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EE
Deuteranopia (green-blind)
#7197E7
Tritanopia (blue-blind)
#A495AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af83ea;
/* rgb */ color: rgb(175, 131, 234);
/* oklch */ color: oklch(69.4% 0.152 302.3);
Tailwind
colors: {
  custom: {
    50: '#c9a8f1',
    500: '#af83ea',
    950: '#000000',
  },
}
SCSS
$custom: #af83ea;
$custom-light: #c9a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af83ea",
  "rgb": {
    "r": 175,
    "g": 131,
    "b": 234
  },
  "hsl": {
    "h": 265.631,
    "s": 71.034,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69399,
    "c": 0.15214,
    "h": 302.3
  },
  "luminance": 0.31287
}

Semantic roles & 50–950 ramp

primary
#AF83EA
secondary
#E6F2D7
accent
#D31281
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AF83EA

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

Preview Lab → · Contrast checker → · Palette generator →

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