#C682F2#C682F2

#C682F2 is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.9% C 0.170 H 310.8°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#C682F2
RGBrgb(198, 130, 242)
HSLhsl(276, 81%, 73%)
HSVhsv(276, 46%, 95%)
CMYKcmyk(18.2%, 46.3%, 0%, 5.1%)
CIE-LABlab(65.27, 45.93, -46.28)
CIE-LCHlch(65.27, 65.20, 314.79°)
OKLaboklab(71.95% 0.1112 -0.1289)
OKLCHoklch(71.95% 0.17 310.8)
XYZxyz(47.2954, 34.3827, 88.1322)
Luminance0.3438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C682F2 #AEF282
analogous
#8E82F2 #C682F2 #F282E6
triadic
#C682F2 #F2C682 #82F2C6
tetradic
#C682F2 #F28E82 #AEF282 #82E6F2
square
#C682F2 #F28E82 #AEF282 #82E6F2
split-complementary
#C682F2 #E6F282 #82F28E
monochromatic
#9318E2 #AD4BEC #C682F2 #DFB9F8 #F2E3FC

Accessibility & contrast

On white

2.67
#C682F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#C682F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C682F2
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C682F2#FFFFFF#000000##000000
##C682F21.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#689BF6
Deuteranopia (green-blind)
#7BA0EF
Tritanopia (blue-blind)
#C194AF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c682f2;
/* rgb */ color: rgb(198, 130, 242);
/* oklch */ color: oklch(71.9% 0.170 310.8);
Tailwind
colors: {
  custom: {
    50: '#d9a8f7',
    500: '#c682f2',
    950: '#000000',
  },
}
SCSS
$custom: #c682f2;
$custom-light: #d9a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c682f2",
  "rgb": {
    "r": 198,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 276.429,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71945,
    "c": 0.17021,
    "h": 310.8
  },
  "luminance": 0.34382
}

Semantic roles & 50–950 ramp

primary
#C682F2
secondary
#E2F4D7
accent
#DE085C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C682F2

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

Preview Lab → · Contrast checker → · Palette generator →

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