#C682EA#C682EA

#C682EA is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.5% C 0.161 H 313.0°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#C682EA
RGBrgb(198, 130, 234)
HSLhsl(279, 71%, 71%)
HSVhsv(279, 44%, 92%)
CMYKcmyk(15.4%, 44.4%, 0%, 8.2%)
CIE-LABlab(64.89, 44.23, -42.45)
CIE-LCHlch(64.89, 61.30, 316.18°)
OKLaboklab(71.55% 0.11 -0.1178)
OKLCHoklch(71.55% 0.161 313)
XYZxyz(46.1201, 33.9125, 81.9422)
Luminance0.3391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C682EA #A6EA82
analogous
#9282EA #C682EA #EA82DA
triadic
#C682EA #EAC682 #82EAC6
tetradic
#C682EA #EA9282 #A6EA82 #82DAEA
square
#C682EA #EA9282 #A6EA82 #82DAEA
split-complementary
#C682EA #DAEA82 #82EA92
monochromatic
#9323CF #AE4EE1 #C682EA #DEB6F3 #F3E5FB

Accessibility & contrast

On white

2.70
#C682EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#C682EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C682EA
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C682EA#FFFFFF#000000##000000
##C682EA1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEE
Deuteranopia (green-blind)
#7F9FE7
Tritanopia (blue-blind)
#C391AB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c682ea;
/* rgb */ color: rgb(198, 130, 234);
/* oklch */ color: oklch(71.5% 0.161 313.0);
Tailwind
colors: {
  custom: {
    50: '#d9a8f1',
    500: '#c682ea',
    950: '#000000',
  },
}
SCSS
$custom: #c682ea;
$custom-light: #d9a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c682ea",
  "rgb": {
    "r": 198,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 279.231,
    "s": 71.233,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71545,
    "c": 0.16117,
    "h": 313
  },
  "luminance": 0.33912
}

Semantic roles & 50–950 ramp

primary
#C682EA
secondary
#E0F1D6
accent
#D31255
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C682EA

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

Preview Lab → · Contrast checker → · Palette generator →

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