#AF83FB#AF83FB

#AF83FB is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.3% C 0.173 H 298.8°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#AF83FB
RGBrgb(175, 131, 251)
HSLhsl(262, 94%, 75%)
HSVhsv(262, 48%, 98%)
CMYKcmyk(30.3%, 47.8%, 0%, 1.6%)
CIE-LABlab(63.60, 41.34, -54.01)
CIE-LCHlch(63.60, 68.02, 307.43°)
OKLaboklab(70.31% 0.0835 -0.152)
OKLCHoklch(70.31% 0.173 298.8)
XYZxyz(43.2039, 32.3112, 95.2086)
Luminance0.3231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF83FB #CFFB83
analogous
#8393FB #AF83FB #EB83FB
triadic
#AF83FB #FBAF83 #83FBAF
tetradic
#AF83FB #FB8393 #CFFB83 #83FBEB
square
#AF83FB #FB8393 #CFFB83 #83FBEB
split-complementary
#AF83FB #FBEB83 #93FB83
monochromatic
#630CF7 #8948F9 #AF83FB #D5BEFD #ECE1FE

Accessibility & contrast

On white

2.81
#AF83FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#AF83FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF83FB
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF83FB#FFFFFF#000000##000000
##AF83FB1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFF
Deuteranopia (green-blind)
#6699F8
Tritanopia (blue-blind)
#9F99B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af83fb;
/* rgb */ color: rgb(175, 131, 251);
/* oklch */ color: oklch(70.3% 0.173 298.8);
Tailwind
colors: {
  custom: {
    50: '#caa8fd',
    500: '#af83fb',
    950: '#000000',
  },
}
SCSS
$custom: #af83fb;
$custom-light: #caa8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#af83fb",
  "rgb": {
    "r": 175,
    "g": 131,
    "b": 251
  },
  "hsl": {
    "h": 262,
    "s": 93.75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70313,
    "c": 0.17339,
    "h": 298.8
  },
  "luminance": 0.32312
}

Semantic roles & 50–950 ramp

primary
#AF83FB
secondary
#EAF6D5
accent
#E60091
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AF83FB

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

Preview Lab → · Contrast checker → · Palette generator →

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