#C078EB#C078EB

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

Color values

HEX#C078EB
RGBrgb(192, 120, 235)
HSLhsl(278, 74%, 70%)
HSVhsv(278, 49%, 92%)
CMYKcmyk(18.3%, 48.9%, 0%, 7.8%)
CIE-LABlab(62.20, 48.09, -47.28)
CIE-LCHlch(62.20, 67.44, 315.48°)
OKLaboklab(69.41% 0.1167 -0.1319)
OKLCHoklch(69.41% 0.176 311.5)
XYZxyz(43.4474, 30.6384, 82.2062)
Luminance0.3064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C078EB #A3EB78
analogous
#8678EB #C078EB #EB78DD
triadic
#C078EB #EBC078 #78EBC0
tetradic
#C078EB #EB8678 #A3EB78 #78DDEB
square
#C078EB #EB8678 #A3EB78 #78DDEB
split-complementary
#C078EB #DDEB78 #78EB86
monochromatic
#8A1ECB #A743E3 #C078EB #D9ADF3 #F2E3FB

Accessibility & contrast

On white

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

On black

7.13
#C078EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C078EB
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C078EB#FFFFFF#000000##000000
##C078EB1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C93EF
Deuteranopia (green-blind)
#7198E8
Tritanopia (blue-blind)
#BB8AA7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c078eb;
/* rgb */ color: rgb(192, 120, 235);
/* oklch */ color: oklch(69.4% 0.176 311.5);
Tailwind
colors: {
  custom: {
    50: '#d5a1f2',
    500: '#c078eb',
    950: '#000000',
  },
}
SCSS
$custom: #c078eb;
$custom-light: #d5a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c078eb",
  "rgb": {
    "r": 192,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 277.565,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69408,
    "c": 0.17614,
    "h": 311.5
  },
  "luminance": 0.30638
}

Semantic roles & 50–950 ramp

primary
#C078EB
secondary
#DBF0CF
accent
#D60F5A
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #C078EB

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

Preview Lab → · Contrast checker → · Palette generator →

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