#C278EA#C278EA

#C278EA is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.6% C 0.176 H 312.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#C278EA
RGBrgb(194, 120, 234)
HSLhsl(279, 73%, 69%)
HSVhsv(279, 49%, 92%)
CMYKcmyk(17.1%, 48.7%, 0%, 8.2%)
CIE-LABlab(62.38, 48.42, -46.44)
CIE-LCHlch(62.38, 67.09, 316.19°)
OKLaboklab(69.57% 0.119 -0.1294)
OKLCHoklch(69.57% 0.176 312.6)
XYZxyz(43.8133, 30.8438, 81.4714)
Luminance0.3084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C278EA #A0EA78
analogous
#8978EA #C278EA #EA78D9
triadic
#C278EA #EAC278 #78EAC2
tetradic
#C278EA #EA8978 #A0EA78 #78D9EA
square
#C278EA #EA8978 #A0EA78 #78D9EA
split-complementary
#C278EA #D9EA78 #78EA89
monochromatic
#8D1FC8 #AA43E2 #C278EA #DAADF2 #F2E2FA

Accessibility & contrast

On white

2.93
#C278EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#C278EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C278EA
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C278EA#FFFFFF#000000##000000
##C278EA1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E93EE
Deuteranopia (green-blind)
#7399E7
Tritanopia (blue-blind)
#BE8AA6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c278ea;
/* rgb */ color: rgb(194, 120, 234);
/* oklch */ color: oklch(69.6% 0.176 312.6);
Tailwind
colors: {
  custom: {
    50: '#d7a1f1',
    500: '#c278ea',
    950: '#000000',
  },
}
SCSS
$custom: #c278ea;
$custom-light: #d7a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c278ea",
  "rgb": {
    "r": 194,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 278.947,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69571,
    "c": 0.17581,
    "h": 312.6
  },
  "luminance": 0.30843
}

Semantic roles & 50–950 ramp

primary
#C278EA
secondary
#DAEFCE
accent
#D51055
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C278EA

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

Preview Lab → · Contrast checker → · Palette generator →

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