#C686EB#C686EB

#C686EB is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.2% C 0.156 H 312.2°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#C686EB
RGBrgb(198, 134, 235)
HSLhsl(278, 72%, 72%)
HSVhsv(278, 43%, 92%)
CMYKcmyk(15.7%, 43%, 0%, 7.8%)
CIE-LABlab(65.79, 42.30, -41.59)
CIE-LCHlch(65.79, 59.32, 315.48°)
OKLaboklab(72.23% 0.1046 -0.1153)
OKLCHoklch(72.23% 0.156 312.2)
XYZxyz(46.8066, 35.0550, 82.8817)
Luminance0.3505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C686EB #ABEB86
analogous
#9486EB #C686EB #EB86DD
triadic
#C686EB #EBC686 #86EBC6
tetradic
#C686EB #EB9486 #ABEB86 #86DDEB
square
#C686EB #EB9486 #ABEB86 #86DDEB
split-complementary
#C686EB #DDEB86 #86EB94
monochromatic
#9323D4 #AD51E2 #C686EB #DFBBF4 #F3E5FB

Accessibility & contrast

On white

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

On black

8.01
#C686EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C686EB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C686EB#FFFFFF#000000##000000
##C686EB1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#729CEF
Deuteranopia (green-blind)
#82A1E8
Tritanopia (blue-blind)
#C295AD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c686eb;
/* rgb */ color: rgb(198, 134, 235);
/* oklch */ color: oklch(72.2% 0.156 312.2);
Tailwind
colors: {
  custom: {
    50: '#d9aaf2',
    500: '#c686eb',
    950: '#000000',
  },
}
SCSS
$custom: #c686eb;
$custom-light: #d9aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c686eb",
  "rgb": {
    "r": 198,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 278.02,
    "s": 71.631,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72233,
    "c": 0.15569,
    "h": 312.2
  },
  "luminance": 0.35054
}

Semantic roles & 50–950 ramp

primary
#C686EB
secondary
#E2F2D9
accent
#D41259
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C686EB

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

Preview Lab → · Contrast checker → · Palette generator →

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