#AF86CA#AF86CA

#AF86CA is a light, moderate violet. Relative luminance 0.304; OKLCH L 68.4% C 0.107 H 311.3°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#AF86CA
RGBrgb(175, 134, 202)
HSLhsl(276, 39%, 66%)
HSVhsv(276, 34%, 79%)
CMYKcmyk(13.4%, 33.7%, 0%, 20.8%)
CIE-LABlab(62.02, 28.33, -29.26)
CIE-LCHlch(62.02, 40.73, 314.07°)
OKLaboklab(68.38% 0.0706 -0.0804)
OKLCHoklch(68.38% 0.107 311.3)
XYZxyz(36.8631, 30.4289, 59.7971)
Luminance0.3043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF86CA #A1CA86
analogous
#8D86CA #AF86CA #CA86C3
triadic
#AF86CA #CAAF86 #86CAAF
tetradic
#AF86CA #CA8D86 #A1CA86 #86C3CA
square
#AF86CA #CA8D86 #A1CA86 #86C3CA
split-complementary
#AF86CA #C3CA86 #86CA8D
monochromatic
#734195 #935BB7 #AF86CA #CBB1DD #E7DBEF

Accessibility & contrast

On white

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

On black

7.09
#AF86CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF86CA
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF86CA#FFFFFF#000000##000000
##AF86CA1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A94CD
Deuteranopia (green-blind)
#8397C8
Tritanopia (blue-blind)
#AC8F9F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af86ca;
/* rgb */ color: rgb(175, 134, 202);
/* oklch */ color: oklch(68.4% 0.107 311.3);
Tailwind
colors: {
  custom: {
    50: '#c7a9da',
    500: '#af86ca',
    950: '#000000',
  },
}
SCSS
$custom: #af86ca;
$custom-light: #c7a9da;
$custom-dark: #000000;
JSON
{
  "hex": "#af86ca",
  "rgb": {
    "r": 175,
    "g": 134,
    "b": 202
  },
  "hsl": {
    "h": 276.176,
    "s": 39.08,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68384,
    "c": 0.10704,
    "h": 311.3
  },
  "luminance": 0.30428
}

Semantic roles & 50–950 ramp

primary
#AF86CA
secondary
#D4E1CB
accent
#B23366
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131015
muted
#827F83

Preview Lab

Preview with #AF86CA

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

Preview Lab → · Contrast checker → · Palette generator →

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