#C686F2#C686F2

#C686F2 is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.6% C 0.164 H 310.2°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#C686F2
RGBrgb(198, 134, 242)
HSLhsl(276, 81%, 74%)
HSVhsv(276, 45%, 95%)
CMYKcmyk(18.2%, 44.6%, 0%, 5.1%)
CIE-LABlab(66.11, 43.80, -44.95)
CIE-LCHlch(66.11, 62.76, 314.26°)
OKLaboklab(72.58% 0.1057 -0.125)
OKLCHoklch(72.58% 0.164 310.2)
XYZxyz(47.8379, 35.4675, 88.3130)
Luminance0.3547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C686F2 #B2F286
analogous
#9086F2 #C686F2 #F286E8
triadic
#C686F2 #F2C686 #86F2C6
tetradic
#C686F2 #F29086 #B2F286 #86E8F2
square
#C686F2 #F29086 #B2F286 #86E8F2
split-complementary
#C686F2 #E8F286 #86F290
monochromatic
#9219E5 #AC4FEC #C686F2 #E0BDF8 #F2E3FC

Accessibility & contrast

On white

2.59
#C686F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#C686F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C686F2
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C686F2#FFFFFF#000000##000000
##C686F21.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#7EA2EF
Tritanopia (blue-blind)
#C197B1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c686f2;
/* rgb */ color: rgb(198, 134, 242);
/* oklch */ color: oklch(72.6% 0.164 310.2);
Tailwind
colors: {
  custom: {
    50: '#d9aaf7',
    500: '#c686f2',
    950: '#000000',
  },
}
SCSS
$custom: #c686f2;
$custom-light: #d9aaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#c686f2",
  "rgb": {
    "r": 198,
    "g": 134,
    "b": 242
  },
  "hsl": {
    "h": 275.556,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72577,
    "c": 0.16373,
    "h": 310.2
  },
  "luminance": 0.35467
}

Semantic roles & 50–950 ramp

primary
#C686F2
secondary
#E3F4D7
accent
#DD095F
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #C686F2

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

Preview Lab → · Contrast checker → · Palette generator →

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