#C678EC#C678EC

#C678EC is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.1% C 0.180 H 313.7°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#C678EC
RGBrgb(198, 120, 236)
HSLhsl(280, 75%, 70%)
HSVhsv(280, 49%, 93%)
CMYKcmyk(16.1%, 49.2%, 0%, 7.5%)
CIE-LABlab(62.92, 49.92, -46.65)
CIE-LCHlch(62.92, 68.33, 316.94°)
OKLaboklab(70.11% 0.124 -0.1299)
OKLCHoklch(70.11% 0.18 313.7)
XYZxyz(45.1430, 31.4960, 83.0419)
Luminance0.3150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C678EC #9EEC78
analogous
#8C78EC #C678EC #EC78D8
triadic
#C678EC #ECC678 #78ECC6
tetradic
#C678EC #EC8C78 #9EEC78 #78D8EC
square
#C678EC #EC8C78 #9EEC78 #78D8EC
split-complementary
#C678EC #D8EC78 #78EC8C
monochromatic
#931DCD #AF42E4 #C678EC #DDAEF4 #F3E3FB

Accessibility & contrast

On white

2.88
#C678EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#C678EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C678EC
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C678EC#FFFFFF#000000##000000
##C678EC1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F0
Deuteranopia (green-blind)
#759AE9
Tritanopia (blue-blind)
#C38AA7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c678ec;
/* rgb */ color: rgb(198, 120, 236);
/* oklch */ color: oklch(70.1% 0.180 313.7);
Tailwind
colors: {
  custom: {
    50: '#d9a1f2',
    500: '#c678ec',
    950: '#000000',
  },
}
SCSS
$custom: #c678ec;
$custom-light: #d9a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c678ec",
  "rgb": {
    "r": 198,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 280.345,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7011,
    "c": 0.17959,
    "h": 313.7
  },
  "luminance": 0.31495
}

Semantic roles & 50–950 ramp

primary
#C678EC
secondary
#DAF0D0
accent
#D70E50
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C678EC

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

Preview Lab → · Contrast checker → · Palette generator →

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