#C686EC#C686EC

#C686EC is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.3% C 0.157 H 311.9°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#C686EC
RGBrgb(198, 134, 236)
HSLhsl(278, 73%, 73%)
HSVhsv(278, 43%, 93%)
CMYKcmyk(16.1%, 43.2%, 0%, 7.5%)
CIE-LABlab(65.84, 42.51, -42.07)
CIE-LCHlch(65.84, 59.81, 315.29°)
OKLaboklab(72.28% 0.1047 -0.1167)
OKLCHoklch(72.28% 0.157 311.9)
XYZxyz(46.9515, 35.1130, 83.6447)
Luminance0.3511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C686EC #ACEC86
analogous
#9386EC #C686EC #EC86DF
triadic
#C686EC #ECC686 #86ECC6
tetradic
#C686EC #EC9386 #ACEC86 #86DFEC
square
#C686EC #EC9386 #ACEC86 #86DFEC
split-complementary
#C686EC #DFEC86 #86EC93
monochromatic
#9322D6 #AD51E4 #C686EC #DFBBF4 #F3E5FB

Accessibility & contrast

On white

2.62
#C686EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#C686EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C686EC
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C686EC#FFFFFF#000000##000000
##C686EC1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#719DF0
Deuteranopia (green-blind)
#82A1E9
Tritanopia (blue-blind)
#C295AE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c686ec;
/* rgb */ color: rgb(198, 134, 236);
/* oklch */ color: oklch(72.3% 0.157 311.9);
Tailwind
colors: {
  custom: {
    50: '#d9aaf2',
    500: '#c686ec',
    950: '#000000',
  },
}
SCSS
$custom: #c686ec;
$custom-light: #d9aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c686ec",
  "rgb": {
    "r": 198,
    "g": 134,
    "b": 236
  },
  "hsl": {
    "h": 277.647,
    "s": 72.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72281,
    "c": 0.15684,
    "h": 311.9
  },
  "luminance": 0.35112
}

Semantic roles & 50–950 ramp

primary
#C686EC
secondary
#E2F3D8
accent
#D5115A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C686EC

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

Preview Lab → · Contrast checker → · Palette generator →

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