#C684EC#C684EC

#C684EC is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.0% C 0.160 H 312.2°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#C684EC
RGBrgb(198, 132, 236)
HSLhsl(278, 73%, 72%)
HSVhsv(278, 44%, 93%)
CMYKcmyk(16.1%, 44.1%, 0%, 7.5%)
CIE-LABlab(65.41, 43.58, -42.74)
CIE-LCHlch(65.41, 61.04, 315.56°)
OKLaboklab(71.96% 0.1075 -0.1187)
OKLCHoklch(71.96% 0.16 312.2)
XYZxyz(46.6777, 34.5653, 83.5535)
Luminance0.3456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C684EC #AAEC84
analogous
#9284EC #C684EC #EC84DE
triadic
#C684EC #ECC684 #84ECC6
tetradic
#C684EC #EC9284 #AAEC84 #84DEEC
square
#C684EC #EC9284 #AAEC84 #84DEEC
split-complementary
#C684EC #DEEC84 #84EC92
monochromatic
#9321D5 #AD4FE4 #C684EC #DFB9F4 #F3E4FB

Accessibility & contrast

On white

2.65
#C684EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#C684EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C684EC
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C684EC#FFFFFF#000000##000000
##C684EC1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BF0
Deuteranopia (green-blind)
#80A0E9
Tritanopia (blue-blind)
#C294AD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c684ec;
/* rgb */ color: rgb(198, 132, 236);
/* oklch */ color: oklch(72.0% 0.160 312.2);
Tailwind
colors: {
  custom: {
    50: '#d9a9f2',
    500: '#c684ec',
    950: '#000000',
  },
}
SCSS
$custom: #c684ec;
$custom-light: #d9a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c684ec",
  "rgb": {
    "r": 198,
    "g": 132,
    "b": 236
  },
  "hsl": {
    "h": 278.077,
    "s": 73.239,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71961,
    "c": 0.16013,
    "h": 312.2
  },
  "luminance": 0.34564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C684EC

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

Preview Lab → · Contrast checker → · Palette generator →

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