#AF86CC#AF86CC

#AF86CC is a light, moderate violet. Relative luminance 0.305; OKLCH L 68.5% C 0.110 H 310.5°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#AF86CC
RGBrgb(175, 134, 204)
HSLhsl(275, 41%, 66%)
HSVhsv(275, 34%, 80%)
CMYKcmyk(14.2%, 34.3%, 0%, 20%)
CIE-LABlab(62.10, 28.76, -30.26)
CIE-LCHlch(62.10, 41.75, 313.55°)
OKLaboklab(68.47% 0.0711 -0.0833)
OKLCHoklch(68.47% 0.11 310.5)
XYZxyz(37.1015, 30.5243, 61.0523)
Luminance0.3052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF86CC #A3CC86
analogous
#8C86CC #AF86CC #CC86C6
triadic
#AF86CC #CCAF86 #86CCAF
tetradic
#AF86CC #CC8C86 #A3CC86 #86C6CC
square
#AF86CC #CC8C86 #A3CC86 #86C6CC
split-complementary
#AF86CC #C6CC86 #86CC8C
monochromatic
#734098 #935BBA #AF86CC #CBB1DE #E8DCF0

Accessibility & contrast

On white

2.96
#AF86CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#AF86CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF86CC
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF86CC#FFFFFF#000000##000000
##AF86CC1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994CF
Deuteranopia (green-blind)
#8297CA
Tritanopia (blue-blind)
#AC90A0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af86cc;
/* rgb */ color: rgb(175, 134, 204);
/* oklch */ color: oklch(68.5% 0.110 310.5);
Tailwind
colors: {
  custom: {
    50: '#c8a9db',
    500: '#af86cc',
    950: '#000000',
  },
}
SCSS
$custom: #af86cc;
$custom-light: #c8a9db;
$custom-dark: #000000;
JSON
{
  "hex": "#af86cc",
  "rgb": {
    "r": 175,
    "g": 134,
    "b": 204
  },
  "hsl": {
    "h": 275.143,
    "s": 40.698,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68473,
    "c": 0.10952,
    "h": 310.5
  },
  "luminance": 0.30524
}

Semantic roles & 50–950 ramp

primary
#AF86CC
secondary
#D5E2CB
accent
#B43268
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AF86CC

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

Preview Lab → · Contrast checker → · Palette generator →

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