#C682EF#C682EF

#C682EF is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.8% C 0.167 H 311.6°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#C682EF
RGBrgb(198, 130, 239)
HSLhsl(277, 77%, 72%)
HSVhsv(277, 46%, 94%)
CMYKcmyk(17.2%, 45.6%, 0%, 6.3%)
CIE-LABlab(65.12, 45.29, -44.85)
CIE-LCHlch(65.12, 63.74, 315.28°)
OKLaboklab(71.79% 0.1108 -0.1247)
OKLCHoklch(71.79% 0.167 311.6)
XYZxyz(46.8486, 34.2039, 85.7787)
Luminance0.3420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C682EF #ABEF82
analogous
#8F82EF #C682EF #EF82E2
triadic
#C682EF #EFC682 #82EFC6
tetradic
#C682EF #EF8F82 #ABEF82 #82E2EF
square
#C682EF #EF8F82 #ABEF82 #82E2EF
split-complementary
#C682EF #E2EF82 #82EF8F
monochromatic
#931CDB #AD4CE8 #C682EF #DFB8F6 #F3E4FC

Accessibility & contrast

On white

2.68
#C682EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#C682EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C682EF
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C682EF#FFFFFF#000000##000000
##C682EF1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9BF3
Deuteranopia (green-blind)
#7CA0EC
Tritanopia (blue-blind)
#C293AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c682ef;
/* rgb */ color: rgb(198, 130, 239);
/* oklch */ color: oklch(71.8% 0.167 311.6);
Tailwind
colors: {
  custom: {
    50: '#d9a8f4',
    500: '#c682ef',
    950: '#000000',
  },
}
SCSS
$custom: #c682ef;
$custom-light: #d9a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c682ef",
  "rgb": {
    "r": 198,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 277.431,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71794,
    "c": 0.16681,
    "h": 311.6
  },
  "luminance": 0.34203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C682EF

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

Preview Lab → · Contrast checker → · Palette generator →

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