#C078EA#C078EA

#C078EA is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.4% C 0.175 H 311.8°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#C078EA
RGBrgb(192, 120, 234)
HSLhsl(278, 73%, 69%)
HSVhsv(278, 49%, 92%)
CMYKcmyk(17.9%, 48.7%, 0%, 8.2%)
CIE-LABlab(62.15, 47.87, -46.81)
CIE-LCHlch(62.15, 66.95, 315.65°)
OKLaboklab(69.36% 0.1166 -0.1305)
OKLCHoklch(69.36% 0.175 311.8)
XYZxyz(43.3034, 30.5808, 81.4475)
Luminance0.3058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C078EA #A2EA78
analogous
#8778EA #C078EA #EA78DB
triadic
#C078EA #EAC078 #78EAC0
tetradic
#C078EA #EA8778 #A2EA78 #78DBEA
square
#C078EA #EA8778 #A2EA78 #78DBEA
split-complementary
#C078EA #DBEA78 #78EA87
monochromatic
#8A1FC8 #A743E2 #C078EA #D9ADF2 #F1E2FA

Accessibility & contrast

On white

2.95
#C078EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#C078EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C078EA
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C078EA#FFFFFF#000000##000000
##C078EA1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93EE
Deuteranopia (green-blind)
#7298E7
Tritanopia (blue-blind)
#BC8AA6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c078ea;
/* rgb */ color: rgb(192, 120, 234);
/* oklch */ color: oklch(69.4% 0.175 311.8);
Tailwind
colors: {
  custom: {
    50: '#d5a1f1',
    500: '#c078ea',
    950: '#000000',
  },
}
SCSS
$custom: #c078ea;
$custom-light: #d5a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c078ea",
  "rgb": {
    "r": 192,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 277.895,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69356,
    "c": 0.17503,
    "h": 311.8
  },
  "luminance": 0.3058
}

Semantic roles & 50–950 ramp

primary
#C078EA
secondary
#DBEFCE
accent
#D51059
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #C078EA

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

Preview Lab → · Contrast checker → · Palette generator →

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