#C682ED#C682ED

#C682ED is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.7% C 0.165 H 312.2°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#C682ED
RGBrgb(198, 130, 237)
HSLhsl(278, 75%, 72%)
HSVhsv(278, 45%, 93%)
CMYKcmyk(16.5%, 45.1%, 0%, 7.1%)
CIE-LABlab(65.03, 44.86, -43.89)
CIE-LCHlch(65.03, 62.76, 315.63°)
OKLaboklab(71.69% 0.1105 -0.122)
OKLCHoklch(71.69% 0.165 312.2)
XYZxyz(46.5548, 34.0864, 84.2312)
Luminance0.3408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C682ED #A9ED82
analogous
#9182ED #C682ED #ED82DE
triadic
#C682ED #EDC682 #82EDC6
tetradic
#C682ED #ED9182 #A9ED82 #82DEED
square
#C682ED #ED9182 #A9ED82 #82DEED
split-complementary
#C682ED #DEED82 #82ED91
monochromatic
#931FD6 #AE4DE5 #C682ED #DEB7F5 #F3E4FB

Accessibility & contrast

On white

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

On black

7.82
#C682ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C682ED
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C682ED#FFFFFF#000000##000000
##C682ED1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c682ed;
/* rgb */ color: rgb(198, 130, 237);
/* oklch */ color: oklch(71.7% 0.165 312.2);
Tailwind
colors: {
  custom: {
    50: '#d9a8f3',
    500: '#c682ed',
    950: '#000000',
  },
}
SCSS
$custom: #c682ed;
$custom-light: #d9a8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c682ed",
  "rgb": {
    "r": 198,
    "g": 130,
    "b": 237
  },
  "hsl": {
    "h": 278.131,
    "s": 74.825,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71694,
    "c": 0.16455,
    "h": 312.2
  },
  "luminance": 0.34085
}

Semantic roles & 50–950 ramp

primary
#C682ED
secondary
#E2F3D8
accent
#D70F58
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C682ED

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

Preview Lab → · Contrast checker → · Palette generator →

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