#C678F8#C678F8

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

Color values

HEX#C678F8
RGBrgb(198, 120, 248)
HSLhsl(277, 90%, 72%)
HSVhsv(277, 52%, 97%)
CMYKcmyk(20.2%, 51.6%, 0%, 2.7%)
CIE-LABlab(63.52, 52.47, -52.34)
CIE-LCHlch(63.52, 74.11, 315.07°)
OKLaboklab(70.75% 0.1252 -0.1465)
OKLCHoklch(70.75% 0.193 310.5)
XYZxyz(46.9453, 32.2169, 92.5342)
Luminance0.3222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C678F8 #AAF878
analogous
#8678F8 #C678F8 #F878EA
triadic
#C678F8 #F8C678 #78F8C6
tetradic
#C678F8 #F88678 #AAF878 #78EAF8
square
#C678F8 #F88678 #AAF878 #78EAF8
split-complementary
#C678F8 #EAF878 #78F886
monochromatic
#930CE9 #AD3EF5 #C678F8 #DFB2FB #F3E2FD

Accessibility & contrast

On white

2.82
#C678F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#C678F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C678F8
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C678F8#FFFFFF#000000##000000
##C678F81.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FC
Deuteranopia (green-blind)
#6E9BF5
Tritanopia (blue-blind)
#C08EAD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c678f8;
/* rgb */ color: rgb(198, 120, 248);
/* oklch */ color: oklch(70.7% 0.193 310.5);
Tailwind
colors: {
  custom: {
    50: '#daa1fb',
    500: '#c678f8',
    950: '#000000',
  },
}
SCSS
$custom: #c678f8;
$custom-light: #daa1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c678f8",
  "rgb": {
    "r": 198,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 276.563,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70746,
    "c": 0.19265,
    "h": 310.5
  },
  "luminance": 0.32216
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C678F8

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

Preview Lab → · Contrast checker → · Palette generator →

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