#C686EF#C686EF

#C686EF is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.4% C 0.160 H 311.0°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#C686EF
RGBrgb(198, 134, 239)
HSLhsl(277, 77%, 73%)
HSVhsv(277, 44%, 94%)
CMYKcmyk(17.2%, 43.9%, 0%, 6.3%)
CIE-LABlab(65.97, 43.15, -43.51)
CIE-LCHlch(65.97, 61.28, 314.76°)
OKLaboklab(72.43% 0.1052 -0.1209)
OKLCHoklch(72.43% 0.16 311)
XYZxyz(47.3910, 35.2888, 85.9595)
Luminance0.3529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C686EF #AFEF86
analogous
#9186EF #C686EF #EF86E4
triadic
#C686EF #EFC686 #86EFC6
tetradic
#C686EF #EF9186 #AFEF86 #86E4EF
square
#C686EF #EF9186 #AFEF86 #86E4EF
split-complementary
#C686EF #E4EF86 #86EF91
monochromatic
#921DDD #AD50E8 #C686EF #DFBCF6 #F2E4FB

Accessibility & contrast

On white

2.61
#C686EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#C686EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C686EF
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C686EF#FFFFFF#000000##000000
##C686EF1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9DF3
Deuteranopia (green-blind)
#80A2EC
Tritanopia (blue-blind)
#C296AF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c686ef;
/* rgb */ color: rgb(198, 134, 239);
/* oklch */ color: oklch(72.4% 0.160 311.0);
Tailwind
colors: {
  custom: {
    50: '#d9aaf4',
    500: '#c686ef',
    950: '#000000',
  },
}
SCSS
$custom: #c686ef;
$custom-light: #d9aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#c686ef",
  "rgb": {
    "r": 198,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 276.571,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72428,
    "c": 0.16027,
    "h": 311
  },
  "luminance": 0.35288
}

Semantic roles & 50–950 ramp

primary
#C686EF
secondary
#E3F3D8
accent
#D90D5C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C686EF

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

Preview Lab → · Contrast checker → · Palette generator →

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