#C684EB#C684EB

#C684EB is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.9% C 0.159 H 312.5°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#C684EB
RGBrgb(198, 132, 235)
HSLhsl(278, 72%, 72%)
HSVhsv(278, 44%, 92%)
CMYKcmyk(15.7%, 43.8%, 0%, 7.8%)
CIE-LABlab(65.36, 43.37, -42.26)
CIE-LCHlch(65.36, 60.56, 315.74°)
OKLaboklab(71.91% 0.1074 -0.1173)
OKLCHoklch(71.91% 0.159 312.5)
XYZxyz(46.5328, 34.5074, 82.7904)
Luminance0.3451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C684EB #A9EB84
analogous
#9384EB #C684EB #EB84DC
triadic
#C684EB #EBC684 #84EBC6
tetradic
#C684EB #EB9384 #A9EB84 #84DCEB
square
#C684EB #EB9384 #A9EB84 #84DCEB
split-complementary
#C684EB #DCEB84 #84EB93
monochromatic
#9322D2 #AE4FE2 #C684EB #DEB9F4 #F3E5FB

Accessibility & contrast

On white

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

On black

7.90
#C684EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C684EB
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C684EB#FFFFFF#000000##000000
##C684EB1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEF
Deuteranopia (green-blind)
#80A0E8
Tritanopia (blue-blind)
#C393AC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c684eb;
/* rgb */ color: rgb(198, 132, 235);
/* oklch */ color: oklch(71.9% 0.159 312.5);
Tailwind
colors: {
  custom: {
    50: '#d9a9f2',
    500: '#c684eb',
    950: '#000000',
  },
}
SCSS
$custom: #c684eb;
$custom-light: #d9a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c684eb",
  "rgb": {
    "r": 198,
    "g": 132,
    "b": 235
  },
  "hsl": {
    "h": 278.447,
    "s": 72.028,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71912,
    "c": 0.159,
    "h": 312.5
  },
  "luminance": 0.34506
}

Semantic roles & 50–950 ramp

primary
#C684EB
secondary
#E2F2D8
accent
#D41157
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C684EB

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

Preview Lab → · Contrast checker → · Palette generator →

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