#C678EA#C678EA

#C678EA is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.0% C 0.177 H 314.2°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#C678EA
RGBrgb(198, 120, 234)
HSLhsl(281, 73%, 69%)
HSVhsv(281, 49%, 92%)
CMYKcmyk(15.4%, 48.7%, 0%, 8.2%)
CIE-LABlab(62.83, 49.50, -45.70)
CIE-LCHlch(62.83, 67.37, 317.29°)
OKLaboklab(70.01% 0.1238 -0.1272)
OKLCHoklch(70.01% 0.177 314.2)
XYZxyz(44.8540, 31.3804, 81.5201)
Luminance0.3138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C678EA #9CEA78
analogous
#8D78EA #C678EA #EA78D5
triadic
#C678EA #EAC678 #78EAC6
tetradic
#C678EA #EA8D78 #9CEA78 #78D5EA
square
#C678EA #EA8D78 #9CEA78 #78D5EA
split-complementary
#C678EA #D5EA78 #78EA8D
monochromatic
#931FC8 #B043E2 #C678EA #DCADF2 #F3E2FA

Accessibility & contrast

On white

2.89
#C678EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#C678EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C678EA
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C678EA#FFFFFF#000000##000000
##C678EA1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EE
Deuteranopia (green-blind)
#769AE7
Tritanopia (blue-blind)
#C389A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c678ea;
/* rgb */ color: rgb(198, 120, 234);
/* oklch */ color: oklch(70.0% 0.177 314.2);
Tailwind
colors: {
  custom: {
    50: '#d9a1f1',
    500: '#c678ea',
    950: '#000000',
  },
}
SCSS
$custom: #c678ea;
$custom-light: #d9a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c678ea",
  "rgb": {
    "r": 198,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 281.053,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70006,
    "c": 0.17744,
    "h": 314.2
  },
  "luminance": 0.31379
}

Semantic roles & 50–950 ramp

primary
#C678EA
secondary
#D9EFCE
accent
#D5104E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C678EA

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

Preview Lab → · Contrast checker → · Palette generator →

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