#AF86FF#AF86FF

#AF86FF is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.0% C 0.174 H 297.4°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#AF86FF
RGBrgb(175, 134, 255)
HSLhsl(260, 100%, 76%)
HSVhsv(260, 47%, 100%)
CMYKcmyk(31.4%, 47.5%, 0%, 0%)
CIE-LABlab(64.47, 40.67, -54.82)
CIE-LCHlch(64.47, 68.26, 306.57°)
OKLaboklab(71.03% 0.0801 -0.1543)
OKLCHoklch(71.03% 0.174 297.4)
XYZxyz(44.2499, 33.3836, 98.7007)
Luminance0.3338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF86FF #D6FF86
analogous
#869AFF #AF86FF #EC86FF
triadic
#AF86FF #FFAF86 #86FFAF
tetradic
#AF86FF #FF869A #D6FF86 #86FFEC
square
#AF86FF #FF869A #D6FF86 #86FFEC
split-complementary
#AF86FF #FFEC86 #9AFF86
monochromatic
#5E0CFF #8749FF #AF86FF #D7C3FF #EBE0FF

Accessibility & contrast

On white

2.74
#AF86FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#AF86FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF86FF
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF86FF#FFFFFF#000000##000000
##AF86FF1.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9DFF
Deuteranopia (green-blind)
#679BFC
Tritanopia (blue-blind)
#9E9DB7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af86ff;
/* rgb */ color: rgb(175, 134, 255);
/* oklch */ color: oklch(71.0% 0.174 297.4);
Tailwind
colors: {
  custom: {
    50: '#caaaff',
    500: '#af86ff',
    950: '#000000',
  },
}
SCSS
$custom: #af86ff;
$custom-light: #caaaff;
$custom-dark: #000000;
JSON
{
  "hex": "#af86ff",
  "rgb": {
    "r": 175,
    "g": 134,
    "b": 255
  },
  "hsl": {
    "h": 260.331,
    "s": 100,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71032,
    "c": 0.17386,
    "h": 297.4
  },
  "luminance": 0.33384
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF86FF

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

Preview Lab → · Contrast checker → · Palette generator →

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