#AF86DF#AF86DF

#AF86DF is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.4% C 0.133 H 304.4°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#AF86DF
RGBrgb(175, 134, 223)
HSLhsl(268, 58%, 70%)
HSVhsv(268, 40%, 87%)
CMYKcmyk(21.5%, 39.9%, 0%, 12.5%)
CIE-LABlab(62.92, 33.02, -39.61)
CIE-LCHlch(62.92, 51.56, 309.81°)
OKLaboklab(69.36% 0.0753 -0.1101)
OKLCHoklch(69.36% 0.133 304.4)
XYZxyz(39.5208, 31.4920, 73.7943)
Luminance0.3149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF86DF #B6DF86
analogous
#868ADF #AF86DF #DB86DF
triadic
#AF86DF #DFAF86 #86DFAF
tetradic
#AF86DF #DF868A #B6DF86 #86DFDB
square
#AF86DF #DF868A #B6DF86 #86DFDB
split-complementary
#AF86DF #DFDB86 #8ADF86
monochromatic
#7031BA #8F56D2 #AF86DF #CFB6EC #EFE7F9

Accessibility & contrast

On white

2.88
#AF86DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#AF86DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF86DF
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF86DF#FFFFFF#000000##000000
##AF86DF1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7197E2
Deuteranopia (green-blind)
#7A98DD
Tritanopia (blue-blind)
#A794A8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af86df;
/* rgb */ color: rgb(175, 134, 223);
/* oklch */ color: oklch(69.4% 0.133 304.4);
Tailwind
colors: {
  custom: {
    50: '#c8aae9',
    500: '#af86df',
    950: '#000000',
  },
}
SCSS
$custom: #af86df;
$custom-light: #c8aae9;
$custom-dark: #000000;
JSON
{
  "hex": "#af86df",
  "rgb": {
    "r": 175,
    "g": 134,
    "b": 223
  },
  "hsl": {
    "h": 267.64,
    "s": 58.17,
    "l": 70
  },
  "oklch": {
    "l": 0.69361,
    "c": 0.13339,
    "h": 304.4
  },
  "luminance": 0.31492
}

Semantic roles & 50–950 ramp

primary
#AF86DF
secondary
#E1EDD4
accent
#C62079
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF86DF

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

Preview Lab → · Contrast checker → · Palette generator →

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