#C686F8#C686F8

#C686F8 is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.9% C 0.171 H 308.6°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#C686F8
RGBrgb(198, 134, 248)
HSLhsl(274, 89%, 75%)
HSVhsv(274, 46%, 97%)
CMYKcmyk(20.2%, 46%, 0%, 2.7%)
CIE-LABlab(66.39, 45.10, -47.80)
CIE-LCHlch(66.39, 65.72, 313.34°)
OKLaboklab(72.88% 0.1066 -0.1333)
OKLCHoklch(72.88% 0.171 308.6)
XYZxyz(48.7538, 35.8339, 93.1370)
Luminance0.3583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C686F8 #B8F886
analogous
#8D86F8 #C686F8 #F886F1
triadic
#C686F8 #F8C686 #86F8C6
tetradic
#C686F8 #F88D86 #B8F886 #86F1F8
square
#C686F8 #F88D86 #B8F886 #86F1F8
split-complementary
#C686F8 #F1F886 #86F88D
monochromatic
#8F12F1 #AB4CF5 #C686F8 #E1C0FB #F1E2FD

Accessibility & contrast

On white

2.57
#C686F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#C686F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C686F8
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C686F8#FFFFFF#000000##000000
##C686F81.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFC
Deuteranopia (green-blind)
#7BA2F5
Tritanopia (blue-blind)
#BF98B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c686f8;
/* rgb */ color: rgb(198, 134, 248);
/* oklch */ color: oklch(72.9% 0.171 308.6);
Tailwind
colors: {
  custom: {
    50: '#d9aafb',
    500: '#c686f8',
    950: '#000000',
  },
}
SCSS
$custom: #c686f8;
$custom-light: #d9aafb;
$custom-dark: #000000;
JSON
{
  "hex": "#c686f8",
  "rgb": {
    "r": 198,
    "g": 134,
    "b": 248
  },
  "hsl": {
    "h": 273.684,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7288,
    "c": 0.17066,
    "h": 308.6
  },
  "luminance": 0.35833
}

Semantic roles & 50–950 ramp

primary
#C686F8
secondary
#E4F5D6
accent
#E60065
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C686F8

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

Preview Lab → · Contrast checker → · Palette generator →

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