#C682EB#C682EB

#C682EB is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.6% C 0.162 H 312.7°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#C682EB
RGBrgb(198, 130, 235)
HSLhsl(279, 72%, 72%)
HSVhsv(279, 45%, 92%)
CMYKcmyk(15.7%, 44.7%, 0%, 7.8%)
CIE-LABlab(64.94, 44.44, -42.93)
CIE-LCHlch(64.94, 61.79, 315.99°)
OKLaboklab(71.6% 0.1102 -0.1192)
OKLCHoklch(71.6% 0.162 312.7)
XYZxyz(46.2642, 33.9702, 82.7009)
Luminance0.3397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C682EB #A7EB82
analogous
#9282EB #C682EB #EB82DC
triadic
#C682EB #EBC682 #82EBC6
tetradic
#C682EB #EB9282 #A7EB82 #82DCEB
square
#C682EB #EB9282 #A7EB82 #82DCEB
split-complementary
#C682EB #DCEB82 #82EB92
monochromatic
#9321D1 #AE4DE3 #C682EB #DEB7F3 #F3E5FB

Accessibility & contrast

On white

2.69
#C682EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#C682EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C682EB
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C682EB#FFFFFF#000000##000000
##C682EB1.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AEF
Deuteranopia (green-blind)
#7E9FE8
Tritanopia (blue-blind)
#C392AB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c682eb;
/* rgb */ color: rgb(198, 130, 235);
/* oklch */ color: oklch(71.6% 0.162 312.7);
Tailwind
colors: {
  custom: {
    50: '#d9a8f2',
    500: '#c682eb',
    950: '#000000',
  },
}
SCSS
$custom: #c682eb;
$custom-light: #d9a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c682eb",
  "rgb": {
    "r": 198,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 278.857,
    "s": 72.414,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71595,
    "c": 0.1623,
    "h": 312.7
  },
  "luminance": 0.33969
}

Semantic roles & 50–950 ramp

primary
#C682EB
secondary
#E0F2D7
accent
#D41156
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C682EB

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

Preview Lab → · Contrast checker → · Palette generator →

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