#C678EF#C678EF

#C678EF is a light, vivid violet. Relative luminance 0.317; OKLCH L 70.3% C 0.183 H 312.8°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#C678EF
RGBrgb(198, 120, 239)
HSLhsl(279, 79%, 70%)
HSVhsv(279, 50%, 94%)
CMYKcmyk(17.2%, 49.8%, 0%, 6.3%)
CIE-LABlab(63.07, 50.55, -48.08)
CIE-LCHlch(63.07, 69.77, 316.43°)
OKLaboklab(70.27% 0.1243 -0.1341)
OKLCHoklch(70.27% 0.183 312.8)
XYZxyz(45.5825, 31.6718, 85.3567)
Luminance0.3167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C678EF #A1EF78
analogous
#8A78EF #C678EF #EF78DC
triadic
#C678EF #EFC678 #78EFC6
tetradic
#C678EF #EF8A78 #A1EF78 #78DCEF
square
#C678EF #EF8A78 #A1EF78 #78DCEF
split-complementary
#C678EF #DCEF78 #78EF8A
monochromatic
#9319D4 #AF41E9 #C678EF #DDAFF5 #F3E4FC

Accessibility & contrast

On white

2.86
#C678EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#C678EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C678EF
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C678EF#FFFFFF#000000##000000
##C678EF1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C94F3
Deuteranopia (green-blind)
#739AEC
Tritanopia (blue-blind)
#C28BA9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c678ef;
/* rgb */ color: rgb(198, 120, 239);
/* oklch */ color: oklch(70.3% 0.183 312.8);
Tailwind
colors: {
  custom: {
    50: '#d9a1f5',
    500: '#c678ef',
    950: '#000000',
  },
}
SCSS
$custom: #c678ef;
$custom-light: #d9a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c678ef",
  "rgb": {
    "r": 198,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 279.328,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70266,
    "c": 0.18284,
    "h": 312.8
  },
  "luminance": 0.31671
}

Semantic roles & 50–950 ramp

primary
#C678EF
secondary
#DCF2D1
accent
#DB0A52
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #C678EF

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

Preview Lab → · Contrast checker → · Palette generator →

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