#AF83FF#AF83FF

#AF83FF is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.5% C 0.178 H 298.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#AF83FF
RGBrgb(175, 131, 255)
HSLhsl(261, 100%, 76%)
HSVhsv(261, 49%, 100%)
CMYKcmyk(31.4%, 48.6%, 0%, 0%)
CIE-LABlab(63.81, 42.32, -55.87)
CIE-LCHlch(63.81, 70.09, 307.14°)
OKLaboklab(70.54% 0.0839 -0.1574)
OKLCHoklch(70.54% 0.178 298.1)
XYZxyz(43.8411, 32.5661, 98.5645)
Luminance0.3257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF83FF #D3FF83
analogous
#8395FF #AF83FF #ED83FF
triadic
#AF83FF #FFAF83 #83FFAF
tetradic
#AF83FF #FF8395 #D3FF83 #83FFED
square
#AF83FF #FF8395 #D3FF83 #83FFED
split-complementary
#AF83FF #FFED83 #95FF83
monochromatic
#6009FF #8846FF #AF83FF #D6C0FF #EBE0FF

Accessibility & contrast

On white

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

On black

7.51
#AF83FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF83FF
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF83FF#FFFFFF#000000##000000
##AF83FF1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#599BFF
Deuteranopia (green-blind)
#6399FC
Tritanopia (blue-blind)
#9E9AB5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af83ff;
/* rgb */ color: rgb(175, 131, 255);
/* oklch */ color: oklch(70.5% 0.178 298.1);
Tailwind
colors: {
  custom: {
    50: '#caa8ff',
    500: '#af83ff',
    950: '#000000',
  },
}
SCSS
$custom: #af83ff;
$custom-light: #caa8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#af83ff",
  "rgb": {
    "r": 175,
    "g": 131,
    "b": 255
  },
  "hsl": {
    "h": 261.29,
    "s": 100,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70537,
    "c": 0.17837,
    "h": 298.1
  },
  "luminance": 0.32567
}

Semantic roles & 50–950 ramp

primary
#AF83FF
secondary
#EBF7D4
accent
#E60094
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #AF83FF

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

Preview Lab → · Contrast checker → · Palette generator →

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