#AF83EF#AF83EF

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

Color values

HEX#AF83EF
RGBrgb(175, 131, 239)
HSLhsl(264, 77%, 73%)
HSVhsv(264, 45%, 94%)
CMYKcmyk(26.8%, 45.2%, 0%, 6.3%)
CIE-LABlab(62.99, 38.44, -48.36)
CIE-LCHlch(62.99, 61.78, 308.48°)
OKLaboklab(69.66% 0.0821 -0.1355)
OKLCHoklch(69.66% 0.158 301.2)
XYZxyz(41.3720, 31.5784, 85.5603)
Luminance0.3158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF83EF #C3EF83
analogous
#838DEF #AF83EF #E583EF
triadic
#AF83EF #EFAF83 #83EFAF
tetradic
#AF83EF #EF838D #C3EF83 #83EFE5
square
#AF83EF #EF838D #C3EF83 #83EFE5
split-complementary
#AF83EF #EFE583 #8DEF83
monochromatic
#6A1CDB #8C4DE8 #AF83EF #D2B9F6 #EEE4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF83EF#FFFFFF#000000##000000
##AF83EF1.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)
#6498F3
Deuteranopia (green-blind)
#6E98EC
Tritanopia (blue-blind)
#A396AE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af83ef;
/* rgb */ color: rgb(175, 131, 239);
/* oklch */ color: oklch(69.7% 0.158 301.2);
Tailwind
colors: {
  custom: {
    50: '#c9a8f5',
    500: '#af83ef',
    950: '#000000',
  },
}
SCSS
$custom: #af83ef;
$custom-light: #c9a8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#af83ef",
  "rgb": {
    "r": 175,
    "g": 131,
    "b": 239
  },
  "hsl": {
    "h": 264.444,
    "s": 77.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69662,
    "c": 0.15841,
    "h": 301.2
  },
  "luminance": 0.31579
}

Semantic roles & 50–950 ramp

primary
#AF83EF
secondary
#E8F3D8
accent
#D90C86
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #AF83EF

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

Preview Lab → · Contrast checker → · Palette generator →

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