#AF86FA#AF86FA

#AF86FA is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.8% C 0.168 H 298.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#AF86FA
RGBrgb(175, 134, 250)
HSLhsl(261, 92%, 75%)
HSVhsv(261, 46%, 98%)
CMYKcmyk(30%, 46.4%, 0%, 2%)
CIE-LABlab(64.21, 39.44, -52.49)
CIE-LCHlch(64.21, 65.65, 306.92°)
OKLaboklab(70.76% 0.0795 -0.1475)
OKLCHoklch(70.76% 0.168 298.3)
XYZxyz(43.4555, 33.0659, 94.5169)
Luminance0.3307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF86FA #D1FA86
analogous
#8697FA #AF86FA #E986FA
triadic
#AF86FA #FAAF86 #86FAAF
tetradic
#AF86FA #FA8697 #D1FA86 #86FAE9
square
#AF86FA #FA8697 #D1FA86 #86FAE9
split-complementary
#AF86FA #FAE986 #97FA86
monochromatic
#6110F5 #884BF8 #AF86FA #D6C1FC #ECE2FE

Accessibility & contrast

On white

2.76
#AF86FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#AF86FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF86FA
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF86FA#FFFFFF#000000##000000
##AF86FA1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFE
Deuteranopia (green-blind)
#6A9BF7
Tritanopia (blue-blind)
#9F9BB4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af86fa;
/* rgb */ color: rgb(175, 134, 250);
/* oklch */ color: oklch(70.8% 0.168 298.3);
Tailwind
colors: {
  custom: {
    50: '#caaafc',
    500: '#af86fa',
    950: '#000000',
  },
}
SCSS
$custom: #af86fa;
$custom-light: #caaafc;
$custom-dark: #000000;
JSON
{
  "hex": "#af86fa",
  "rgb": {
    "r": 175,
    "g": 134,
    "b": 250
  },
  "hsl": {
    "h": 261.207,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70757,
    "c": 0.16757,
    "h": 298.3
  },
  "luminance": 0.33066
}

Semantic roles & 50–950 ramp

primary
#AF86FA
secondary
#EAF6D5
accent
#E60094
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AF86FA

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

Preview Lab → · Contrast checker → · Palette generator →

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