#C278E8#C278E8

#C278E8 is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.5% C 0.174 H 313.2°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#C278E8
RGBrgb(194, 120, 232)
HSLhsl(280, 71%, 69%)
HSVhsv(280, 48%, 91%)
CMYKcmyk(16.4%, 48.3%, 0%, 9%)
CIE-LABlab(62.28, 47.99, -45.48)
CIE-LCHlch(62.28, 66.12, 316.54°)
OKLaboklab(69.47% 0.1188 -0.1266)
OKLCHoklch(69.47% 0.174 313.2)
XYZxyz(43.5276, 30.7295, 79.9667)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C278E8 #9EE878
analogous
#8A78E8 #C278E8 #E878D6
triadic
#C278E8 #E8C278 #78E8C2
tetradic
#C278E8 #E88A78 #9EE878 #78D6E8
square
#C278E8 #E88A78 #9EE878 #78D6E8
split-complementary
#C278E8 #D6E878 #78E88A
monochromatic
#8D21C4 #AA44DF #C278E8 #DAACF1 #F1E1FA

Accessibility & contrast

On white

2.94
#C278E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#C278E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C278E8
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C278E8#FFFFFF#000000##000000
##C278E81.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F92EC
Deuteranopia (green-blind)
#7498E5
Tritanopia (blue-blind)
#BF89A5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c278e8;
/* rgb */ color: rgb(194, 120, 232);
/* oklch */ color: oklch(69.5% 0.174 313.2);
Tailwind
colors: {
  custom: {
    50: '#d6a1f0',
    500: '#c278e8',
    950: '#000000',
  },
}
SCSS
$custom: #c278e8;
$custom-light: #d6a1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#c278e8",
  "rgb": {
    "r": 194,
    "g": 120,
    "b": 232
  },
  "hsl": {
    "h": 279.643,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69468,
    "c": 0.17361,
    "h": 313.2
  },
  "luminance": 0.30728
}

Semantic roles & 50–950 ramp

primary
#C278E8
secondary
#D9EECD
accent
#D31354
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C278E8

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

Preview Lab → · Contrast checker → · Palette generator →

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