#AF83FD#AF83FD

#AF83FD is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.4% C 0.176 H 298.4°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#AF83FD
RGBrgb(175, 131, 253)
HSLhsl(262, 97%, 75%)
HSVhsv(262, 48%, 99%)
CMYKcmyk(30.8%, 48.2%, 0%, 0.8%)
CIE-LABlab(63.70, 41.83, -54.94)
CIE-LCHlch(63.70, 69.05, 307.29°)
OKLaboklab(70.42% 0.0837 -0.1547)
OKLCHoklch(70.42% 0.176 298.4)
XYZxyz(43.5209, 32.4380, 96.8778)
Luminance0.3244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF83FD #D1FD83
analogous
#8394FD #AF83FD #EC83FD
triadic
#AF83FD #FDAF83 #83FDAF
tetradic
#AF83FD #FD8394 #D1FD83 #83FDEC
square
#AF83FD #FD8394 #D1FD83 #83FDEC
split-complementary
#AF83FD #FDEC83 #94FD83
monochromatic
#610BFB #8847FC #AF83FD #D6BFFE #ECE1FF

Accessibility & contrast

On white

2.80
#AF83FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#AF83FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF83FD
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF83FD#FFFFFF#000000##000000
##AF83FD1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#6599FA
Tritanopia (blue-blind)
#9F9AB4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af83fd;
/* rgb */ color: rgb(175, 131, 253);
/* oklch */ color: oklch(70.4% 0.176 298.4);
Tailwind
colors: {
  custom: {
    50: '#caa8fe',
    500: '#af83fd',
    950: '#000000',
  },
}
SCSS
$custom: #af83fd;
$custom-light: #caa8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#af83fd",
  "rgb": {
    "r": 175,
    "g": 131,
    "b": 253
  },
  "hsl": {
    "h": 261.639,
    "s": 96.825,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70424,
    "c": 0.17588,
    "h": 298.4
  },
  "luminance": 0.32438
}

Semantic roles & 50–950 ramp

primary
#AF83FD
secondary
#EAF7D4
accent
#E60093
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #AF83FD

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

Preview Lab → · Contrast checker → · Palette generator →

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