#C678EB#C678EB

#C678EB is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.1% C 0.179 H 313.9°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#C678EB
RGBrgb(198, 120, 235)
HSLhsl(281, 74%, 70%)
HSVhsv(281, 49%, 92%)
CMYKcmyk(15.7%, 48.9%, 0%, 7.8%)
CIE-LABlab(62.88, 49.71, -46.18)
CIE-LCHlch(62.88, 67.85, 317.11°)
OKLaboklab(70.06% 0.1239 -0.1285)
OKLCHoklch(70.06% 0.179 313.9)
XYZxyz(44.9981, 31.4380, 82.2789)
Luminance0.3144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C678EB #9DEB78
analogous
#8D78EB #C678EB #EB78D6
triadic
#C678EB #EBC678 #78EBC6
tetradic
#C678EB #EB8D78 #9DEB78 #78D6EB
square
#C678EB #EB8D78 #9DEB78 #78D6EB
split-complementary
#C678EB #D6EB78 #78EB8D
monochromatic
#931ECB #AF43E3 #C678EB #DDADF3 #F3E3FB

Accessibility & contrast

On white

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

On black

7.29
#C678EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C678EB
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C678EB#FFFFFF#000000##000000
##C678EB1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EF
Deuteranopia (green-blind)
#769AE8
Tritanopia (blue-blind)
#C38AA7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c678eb;
/* rgb */ color: rgb(198, 120, 235);
/* oklch */ color: oklch(70.1% 0.179 313.9);
Tailwind
colors: {
  custom: {
    50: '#d9a1f2',
    500: '#c678eb',
    950: '#000000',
  },
}
SCSS
$custom: #c678eb;
$custom-light: #d9a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c678eb",
  "rgb": {
    "r": 198,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 280.696,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70058,
    "c": 0.17852,
    "h": 313.9
  },
  "luminance": 0.31437
}

Semantic roles & 50–950 ramp

primary
#C678EB
secondary
#DAF0CF
accent
#D60F4F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C678EB

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

Preview Lab → · Contrast checker → · Palette generator →

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