#C678F7#C678F7

#C678F7 is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.7% C 0.192 H 310.8°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#C678F7
RGBrgb(198, 120, 247)
HSLhsl(277, 89%, 72%)
HSVhsv(277, 51%, 97%)
CMYKcmyk(19.8%, 51.4%, 0%, 3.1%)
CIE-LABlab(63.47, 52.25, -51.87)
CIE-LCHlch(63.47, 73.62, 315.21°)
OKLaboklab(70.69% 0.1251 -0.1451)
OKLCHoklch(70.69% 0.192 310.8)
XYZxyz(46.7906, 32.1550, 91.7193)
Luminance0.3215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C678F7 #A9F778
analogous
#8778F7 #C678F7 #F778E9
triadic
#C678F7 #F7C678 #78F7C6
tetradic
#C678F7 #F78778 #A9F778 #78E9F7
square
#C678F7 #F78778 #A9F778 #78E9F7
split-complementary
#C678F7 #E9F778 #78F787
monochromatic
#930EE7 #AE3EF4 #C678F7 #DEB2FA #F3E2FD

Accessibility & contrast

On white

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

On black

7.43
#C678F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C678F7
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C678F7#FFFFFF#000000##000000
##C678F71.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FB
Deuteranopia (green-blind)
#6E9BF4
Tritanopia (blue-blind)
#C08DAC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c678f7;
/* rgb */ color: rgb(198, 120, 247);
/* oklch */ color: oklch(70.7% 0.192 310.8);
Tailwind
colors: {
  custom: {
    50: '#daa1fa',
    500: '#c678f7',
    950: '#000000',
  },
}
SCSS
$custom: #c678f7;
$custom-light: #daa1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c678f7",
  "rgb": {
    "r": 198,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 276.85,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70692,
    "c": 0.19156,
    "h": 310.8
  },
  "luminance": 0.32154
}

Semantic roles & 50–950 ramp

primary
#C678F7
secondary
#E2F5D5
accent
#E50059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C678F7

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

Preview Lab → · Contrast checker → · Palette generator →

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