#C078EF#C078EF

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

Color values

HEX#C078EF
RGBrgb(192, 120, 239)
HSLhsl(276, 79%, 70%)
HSVhsv(276, 50%, 94%)
CMYKcmyk(19.7%, 49.8%, 0%, 6.3%)
CIE-LABlab(62.40, 48.95, -49.19)
CIE-LCHlch(62.40, 69.40, 314.86°)
OKLaboklab(69.62% 0.1172 -0.1374)
OKLCHoklch(69.62% 0.181 310.4)
XYZxyz(44.0318, 30.8722, 85.2840)
Luminance0.3087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C078EF #A7EF78
analogous
#8578EF #C078EF #EF78E2
triadic
#C078EF #EFC078 #78EFC0
tetradic
#C078EF #EF8578 #A7EF78 #78E2EF
square
#C078EF #EF8578 #A7EF78 #78E2EF
split-complementary
#C078EF #E2EF78 #78EF85
monochromatic
#8A19D4 #A641E9 #C078EF #DAAFF5 #F2E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C078EF#FFFFFF#000000##000000
##C078EF1.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)
#5A93F3
Deuteranopia (green-blind)
#6F98EC
Tritanopia (blue-blind)
#BA8CA9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c078ef;
/* rgb */ color: rgb(192, 120, 239);
/* oklch */ color: oklch(69.6% 0.181 310.4);
Tailwind
colors: {
  custom: {
    50: '#d5a1f5',
    500: '#c078ef',
    950: '#000000',
  },
}
SCSS
$custom: #c078ef;
$custom-light: #d5a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c078ef",
  "rgb": {
    "r": 192,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 276.303,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6962,
    "c": 0.1806,
    "h": 310.4
  },
  "luminance": 0.30871
}

Semantic roles & 50–950 ramp

primary
#C078EF
secondary
#DEF2D1
accent
#DB0A5D
background
#FDFAFF
surface
#FAF3FE
border
#D3CDD6
text
#150F17
muted
#837F85

Preview Lab

Preview with #C078EF

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

Preview Lab → · Contrast checker → · Palette generator →

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