#C678FA#C678FA

#C678FA is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.9% C 0.195 H 310.0°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#C678FA
RGBrgb(198, 120, 250)
HSLhsl(276, 93%, 73%)
HSVhsv(276, 52%, 98%)
CMYKcmyk(20.8%, 52%, 0%, 2%)
CIE-LABlab(63.62, 52.90, -53.27)
CIE-LCHlch(63.62, 75.08, 314.80°)
OKLaboklab(70.86% 0.1253 -0.1492)
OKLCHoklch(70.86% 0.195 310)
XYZxyz(47.2573, 32.3417, 94.1770)
Luminance0.3234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C678FA #ACFA78
analogous
#8578FA #C678FA #FA78ED
triadic
#C678FA #FAC678 #78FAC6
tetradic
#C678FA #FA8578 #ACFA78 #78EDFA
square
#C678FA #FA8578 #ACFA78 #78EDFA
split-complementary
#C678FA #EDFA78 #78FA85
monochromatic
#9309EF #AD3DF8 #C678FA #DFB3FC #F3E1FE

Accessibility & contrast

On white

2.81
#C678FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#C678FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C678FA
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C678FA#FFFFFF#000000##000000
##C678FA1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5496FE
Deuteranopia (green-blind)
#6C9BF7
Tritanopia (blue-blind)
#BF8EAE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c678fa;
/* rgb */ color: rgb(198, 120, 250);
/* oklch */ color: oklch(70.9% 0.195 310.0);
Tailwind
colors: {
  custom: {
    50: '#daa1fc',
    500: '#c678fa',
    950: '#000000',
  },
}
SCSS
$custom: #c678fa;
$custom-light: #daa1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c678fa",
  "rgb": {
    "r": 198,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 276,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70855,
    "c": 0.19484,
    "h": 310
  },
  "luminance": 0.32341
}

Semantic roles & 50–950 ramp

primary
#C678FA
secondary
#E2F6D5
accent
#E6005C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C678FA

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

Preview Lab → · Contrast checker → · Palette generator →

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