#C682EC#C682EC

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

Color values

HEX#C682EC
RGBrgb(198, 130, 236)
HSLhsl(278, 74%, 72%)
HSVhsv(278, 45%, 93%)
CMYKcmyk(16.1%, 44.9%, 0%, 7.5%)
CIE-LABlab(64.98, 44.65, -43.41)
CIE-LCHlch(64.98, 62.27, 315.81°)
OKLaboklab(71.64% 0.1103 -0.1206)
OKLCHoklch(71.64% 0.163 312.5)
XYZxyz(46.4091, 34.0281, 83.4639)
Luminance0.3403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C682EC #A8EC82
analogous
#9182EC #C682EC #EC82DD
triadic
#C682EC #ECC682 #82ECC6
tetradic
#C682EC #EC9182 #A8EC82 #82DDEC
square
#C682EC #EC9182 #A8EC82 #82DDEC
split-complementary
#C682EC #DDEC82 #82EC91
monochromatic
#9320D3 #AE4DE4 #C682EC #DEB7F4 #F3E4FB

Accessibility & contrast

On white

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

On black

7.81
#C682EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C682EC
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C682EC#FFFFFF#000000##000000
##C682EC1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AF0
Deuteranopia (green-blind)
#7E9FE9
Tritanopia (blue-blind)
#C292AC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c682ec;
/* rgb */ color: rgb(198, 130, 236);
/* oklch */ color: oklch(71.6% 0.163 312.5);
Tailwind
colors: {
  custom: {
    50: '#d9a8f2',
    500: '#c682ec',
    950: '#000000',
  },
}
SCSS
$custom: #c682ec;
$custom-light: #d9a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c682ec",
  "rgb": {
    "r": 198,
    "g": 130,
    "b": 236
  },
  "hsl": {
    "h": 278.491,
    "s": 73.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71644,
    "c": 0.16342,
    "h": 312.5
  },
  "luminance": 0.34027
}

Semantic roles & 50–950 ramp

primary
#C682EC
secondary
#E1F2D7
accent
#D61057
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C682EC

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

Preview Lab → · Contrast checker → · Palette generator →

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