#AF83FC#AF83FC

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

Color values

HEX#AF83FC
RGBrgb(175, 131, 252)
HSLhsl(262, 95%, 75%)
HSVhsv(262, 48%, 99%)
CMYKcmyk(30.6%, 48%, 0%, 1.2%)
CIE-LABlab(63.65, 41.59, -54.48)
CIE-LCHlch(63.65, 68.54, 307.36°)
OKLaboklab(70.37% 0.0836 -0.1533)
OKLCHoklch(70.37% 0.175 298.6)
XYZxyz(43.3620, 32.3744, 96.0410)
Luminance0.3237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF83FC #D0FC83
analogous
#8394FC #AF83FC #EB83FC
triadic
#AF83FC #FCAF83 #83FCAF
tetradic
#AF83FC #FC8394 #D0FC83 #83FCEB
square
#AF83FC #FC8394 #D0FC83 #83FCEB
split-complementary
#AF83FC #FCEB83 #94FC83
monochromatic
#620BF9 #8847FB #AF83FC #D6BFFD #ECE1FE

Accessibility & contrast

On white

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

On black

7.47
#AF83FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF83FC
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF83FC#FFFFFF#000000##000000
##AF83FC1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af83fc;
/* rgb */ color: rgb(175, 131, 252);
/* oklch */ color: oklch(70.4% 0.175 298.6);
Tailwind
colors: {
  custom: {
    50: '#caa8fe',
    500: '#af83fc',
    950: '#000000',
  },
}
SCSS
$custom: #af83fc;
$custom-light: #caa8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#af83fc",
  "rgb": {
    "r": 175,
    "g": 131,
    "b": 252
  },
  "hsl": {
    "h": 261.818,
    "s": 95.276,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70369,
    "c": 0.17464,
    "h": 298.6
  },
  "luminance": 0.32375
}

Semantic roles & 50–950 ramp

primary
#AF83FC
secondary
#EAF7D4
accent
#E60092
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AF83FC

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

Preview Lab → · Contrast checker → · Palette generator →

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