#C684EA#C684EA

#C684EA is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.9% C 0.158 H 312.8°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#C684EA
RGBrgb(198, 132, 234)
HSLhsl(279, 71%, 72%)
HSVhsv(279, 44%, 92%)
CMYKcmyk(15.4%, 43.6%, 0%, 8.2%)
CIE-LABlab(65.32, 43.16, -41.78)
CIE-LCHlch(65.32, 60.07, 315.93°)
OKLaboklab(71.86% 0.1072 -0.1159)
OKLCHoklch(71.86% 0.158 312.8)
XYZxyz(46.3887, 34.4498, 82.0317)
Luminance0.3445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C684EA #A8EA84
analogous
#9384EA #C684EA #EA84DB
triadic
#C684EA #EAC684 #84EAC6
tetradic
#C684EA #EA9384 #A8EA84 #84DBEA
square
#C684EA #EA9384 #A8EA84 #84DBEA
split-complementary
#C684EA #DBEA84 #84EA93
monochromatic
#9324D0 #AE50E1 #C684EA #DEB8F3 #F3E5FB

Accessibility & contrast

On white

2.66
#C684EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#C684EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C684EA
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C684EA#FFFFFF#000000##000000
##C684EA1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEE
Deuteranopia (green-blind)
#81A0E7
Tritanopia (blue-blind)
#C393AC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c684ea;
/* rgb */ color: rgb(198, 132, 234);
/* oklch */ color: oklch(71.9% 0.158 312.8);
Tailwind
colors: {
  custom: {
    50: '#d9a9f1',
    500: '#c684ea',
    950: '#000000',
  },
}
SCSS
$custom: #c684ea;
$custom-light: #d9a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c684ea",
  "rgb": {
    "r": 198,
    "g": 132,
    "b": 234
  },
  "hsl": {
    "h": 278.824,
    "s": 70.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71863,
    "c": 0.15787,
    "h": 312.8
  },
  "luminance": 0.34449
}

Semantic roles & 50–950 ramp

primary
#C684EA
secondary
#E1F2D8
accent
#D31356
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C684EA

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

Preview Lab → · Contrast checker → · Palette generator →

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