#AF86CB#AF86CB

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

Color values

HEX#AF86CB
RGBrgb(175, 134, 203)
HSLhsl(276, 40%, 66%)
HSVhsv(276, 34%, 80%)
CMYKcmyk(13.8%, 34%, 0%, 20.4%)
CIE-LABlab(62.06, 28.54, -29.76)
CIE-LCHlch(62.06, 41.24, 313.80°)
OKLaboklab(68.43% 0.0709 -0.0819)
OKLCHoklch(68.43% 0.108 310.9)
XYZxyz(36.9819, 30.4764, 60.4227)
Luminance0.3048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF86CB #A2CB86
analogous
#8C86CB #AF86CB #CB86C4
triadic
#AF86CB #CBAF86 #86CBAF
tetradic
#AF86CB #CB8C86 #A2CB86 #86C4CB
square
#AF86CB #CB8C86 #A2CB86 #86C4CB
split-complementary
#AF86CB #C4CB86 #86CB8C
monochromatic
#734196 #935BB9 #AF86CB #CBB1DD #E8DCF0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF86CB#FFFFFF#000000##000000
##AF86CB1.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)
#7A94CE
Deuteranopia (green-blind)
#8397C9
Tritanopia (blue-blind)
#AC8F9F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af86cb;
/* rgb */ color: rgb(175, 134, 203);
/* oklch */ color: oklch(68.4% 0.108 310.9);
Tailwind
colors: {
  custom: {
    50: '#c8a9db',
    500: '#af86cb',
    950: '#000000',
  },
}
SCSS
$custom: #af86cb;
$custom-light: #c8a9db;
$custom-dark: #000000;
JSON
{
  "hex": "#af86cb",
  "rgb": {
    "r": 175,
    "g": 134,
    "b": 203
  },
  "hsl": {
    "h": 275.652,
    "s": 39.884,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68429,
    "c": 0.10828,
    "h": 310.9
  },
  "luminance": 0.30476
}

Semantic roles & 50–950 ramp

primary
#AF86CB
secondary
#D4E2CB
accent
#B33367
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AF86CB

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

Preview Lab → · Contrast checker → · Palette generator →

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