#AF86CD#AF86CD

#AF86CD is a light, moderate violet. Relative luminance 0.306; OKLCH L 68.5% C 0.111 H 310.1°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#AF86CD
RGBrgb(175, 134, 205)
HSLhsl(275, 42%, 66%)
HSVhsv(275, 35%, 80%)
CMYKcmyk(14.6%, 34.6%, 0%, 19.6%)
CIE-LABlab(62.15, 28.98, -30.76)
CIE-LCHlch(62.15, 42.26, 313.29°)
OKLaboklab(68.52% 0.0714 -0.0847)
OKLCHoklch(68.52% 0.111 310.1)
XYZxyz(37.2218, 30.5724, 61.6860)
Luminance0.3057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF86CD #A4CD86
analogous
#8C86CD #AF86CD #CD86C8
triadic
#AF86CD #CDAF86 #86CDAF
tetradic
#AF86CD #CD8C86 #A4CD86 #86C8CD
square
#AF86CD #CD8C86 #A4CD86 #86C8CD
split-complementary
#AF86CD #C8CD86 #86CD8C
monochromatic
#733F99 #925BBB #AF86CD #CCB1DF #E8DDF1

Accessibility & contrast

On white

2.95
#AF86CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#AF86CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF86CD
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF86CD#FFFFFF#000000##000000
##AF86CD1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af86cd;
/* rgb */ color: rgb(175, 134, 205);
/* oklch */ color: oklch(68.5% 0.111 310.1);
Tailwind
colors: {
  custom: {
    50: '#c8a9dc',
    500: '#af86cd',
    950: '#000000',
  },
}
SCSS
$custom: #af86cd;
$custom-light: #c8a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af86cd",
  "rgb": {
    "r": 175,
    "g": 134,
    "b": 205
  },
  "hsl": {
    "h": 274.648,
    "s": 41.52,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68518,
    "c": 0.11076,
    "h": 310.1
  },
  "luminance": 0.30572
}

Semantic roles & 50–950 ramp

primary
#AF86CD
secondary
#D6E3CC
accent
#B53169
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AF86CD

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

Preview Lab → · Contrast checker → · Palette generator →

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