#AF83FA#AF83FA

#AF83FA is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.3% C 0.172 H 299.0°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#AF83FA
RGBrgb(175, 131, 250)
HSLhsl(262, 92%, 75%)
HSVhsv(262, 48%, 98%)
CMYKcmyk(30%, 47.6%, 0%, 2%)
CIE-LABlab(63.55, 41.10, -53.54)
CIE-LCHlch(63.55, 67.50, 307.51°)
OKLaboklab(70.26% 0.0834 -0.1506)
OKLCHoklch(70.26% 0.172 299)
XYZxyz(43.0467, 32.2483, 94.3806)
Luminance0.3225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF83FA #CEFA83
analogous
#8393FA #AF83FA #EB83FA
triadic
#AF83FA #FAAF83 #83FAAF
tetradic
#AF83FA #FA8393 #CEFA83 #83FAEB
square
#AF83FA #FA8393 #CEFA83 #83FAEB
split-complementary
#AF83FA #FAEB83 #93FA83
monochromatic
#630DF5 #8948F8 #AF83FA #D5BEFC #ECE2FE

Accessibility & contrast

On white

2.82
#AF83FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#AF83FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF83FA
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF83FA#FFFFFF#000000##000000
##AF83FA1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFE
Deuteranopia (green-blind)
#6799F7
Tritanopia (blue-blind)
#A099B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af83fa;
/* rgb */ color: rgb(175, 131, 250);
/* oklch */ color: oklch(70.3% 0.172 299.0);
Tailwind
colors: {
  custom: {
    50: '#caa8fc',
    500: '#af83fa',
    950: '#000000',
  },
}
SCSS
$custom: #af83fa;
$custom-light: #caa8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af83fa",
  "rgb": {
    "r": 175,
    "g": 131,
    "b": 250
  },
  "hsl": {
    "h": 262.185,
    "s": 92.248,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70258,
    "c": 0.17215,
    "h": 299
  },
  "luminance": 0.32249
}

Semantic roles & 50–950 ramp

primary
#AF83FA
secondary
#EAF6D5
accent
#E60091
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AF83FA

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

Preview Lab → · Contrast checker → · Palette generator →

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