#C678F6#C678F6

#C678F6 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.6% C 0.190 H 311.0°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#C678F6
RGBrgb(198, 120, 246)
HSLhsl(277, 88%, 72%)
HSVhsv(277, 51%, 96%)
CMYKcmyk(19.5%, 51.2%, 0%, 3.5%)
CIE-LABlab(63.42, 52.04, -51.40)
CIE-LCHlch(63.42, 73.14, 315.36°)
OKLaboklab(70.64% 0.125 -0.1437)
OKLCHoklch(70.64% 0.19 311)
XYZxyz(46.6367, 32.0934, 90.9088)
Luminance0.3209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C678F6 #A8F678
analogous
#8778F6 #C678F6 #F678E7
triadic
#C678F6 #F6C678 #78F6C6
tetradic
#C678F6 #F68778 #A8F678 #78E7F6
square
#C678F6 #F68778 #A8F678 #78E7F6
split-complementary
#C678F6 #E7F678 #78F687
monochromatic
#930FE4 #AE3FF2 #C678F6 #DEB1FA #F3E2FD

Accessibility & contrast

On white

2.83
#C678F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#C678F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C678F6
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C678F6#FFFFFF#000000##000000
##C678F61.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FA
Deuteranopia (green-blind)
#6F9BF3
Tritanopia (blue-blind)
#C08DAC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c678f6;
/* rgb */ color: rgb(198, 120, 246);
/* oklch */ color: oklch(70.6% 0.190 311.0);
Tailwind
colors: {
  custom: {
    50: '#daa1fa',
    500: '#c678f6',
    950: '#000000',
  },
}
SCSS
$custom: #c678f6;
$custom-light: #daa1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c678f6",
  "rgb": {
    "r": 198,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 277.143,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70638,
    "c": 0.19047,
    "h": 311
  },
  "luminance": 0.32093
}

Semantic roles & 50–950 ramp

primary
#C678F6
secondary
#E1F5D5
accent
#E40158
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C678F6

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

Preview Lab → · Contrast checker → · Palette generator →

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