#AF86DA#AF86DA

#AF86DA is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.1% C 0.127 H 305.8°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#AF86DA
RGBrgb(175, 134, 218)
HSLhsl(269, 53%, 69%)
HSVhsv(269, 39%, 85%)
CMYKcmyk(19.7%, 38.5%, 0%, 14.5%)
CIE-LABlab(62.70, 31.87, -37.17)
CIE-LCHlch(62.70, 48.96, 310.61°)
OKLaboklab(69.12% 0.0743 -0.1031)
OKLCHoklch(69.12% 0.127 305.8)
XYZxyz(38.8566, 31.2263, 70.2963)
Luminance0.3123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF86DA #B1DA86
analogous
#8687DA #AF86DA #D986DA
triadic
#AF86DA #DAAF86 #86DAAF
tetradic
#AF86DA #DA8687 #B1DA86 #86DAD9
square
#AF86DA #DA8687 #B1DA86 #86DAD9
split-complementary
#AF86DA #DAD986 #87DA86
monochromatic
#7136B0 #9057CC #AF86DA #CEB5E8 #EDE4F7

Accessibility & contrast

On white

2.90
#AF86DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#AF86DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF86DA
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF86DA#FFFFFF#000000##000000
##AF86DA1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7396DD
Deuteranopia (green-blind)
#7C98D8
Tritanopia (blue-blind)
#A993A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af86da;
/* rgb */ color: rgb(175, 134, 218);
/* oklch */ color: oklch(69.1% 0.127 305.8);
Tailwind
colors: {
  custom: {
    50: '#c8aae6',
    500: '#af86da',
    950: '#000000',
  },
}
SCSS
$custom: #af86da;
$custom-light: #c8aae6;
$custom-dark: #000000;
JSON
{
  "hex": "#af86da",
  "rgb": {
    "r": 175,
    "g": 134,
    "b": 218
  },
  "hsl": {
    "h": 269.286,
    "s": 53.165,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69119,
    "c": 0.12706,
    "h": 305.8
  },
  "luminance": 0.31226
}

Semantic roles & 50–950 ramp

primary
#AF86DA
secondary
#DEEAD2
accent
#C12575
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF86DA

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

Preview Lab → · Contrast checker → · Palette generator →

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