#C078FC#C078FC

#C078FC is a light, vivid violet. Relative luminance 0.317; OKLCH L 70.3% C 0.195 H 307.3°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#C078FC
RGBrgb(192, 120, 252)
HSLhsl(273, 96%, 73%)
HSVhsv(273, 52%, 99%)
CMYKcmyk(23.8%, 52.4%, 0%, 1.2%)
CIE-LABlab(63.07, 51.82, -55.30)
CIE-LCHlch(63.07, 75.78, 313.14°)
OKLaboklab(70.33% 0.1183 -0.1553)
OKLCHoklch(70.33% 0.195 307.3)
XYZxyz(46.0218, 31.6682, 95.7647)
Luminance0.3167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C078FC #B4FC78
analogous
#7E78FC #C078FC #FC78F6
triadic
#C078FC #FCC078 #78FCC0
tetradic
#C078FC #FC7E78 #B4FC78 #78F6FC
square
#C078FC #FC7E78 #B4FC78 #78F6FC
split-complementary
#C078FC #F6FC78 #78FC7E
monochromatic
#8805F4 #A43CFB #C078FC #DCB4FD #F1E1FE

Accessibility & contrast

On white

2.86
#C078FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#C078FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C078FC
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C078FC#FFFFFF#000000##000000
##C078FC1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F96FF
Deuteranopia (green-blind)
#6699F9
Tritanopia (blue-blind)
#B790AF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c078fc;
/* rgb */ color: rgb(192, 120, 252);
/* oklch */ color: oklch(70.3% 0.195 307.3);
Tailwind
colors: {
  custom: {
    50: '#d6a1fe',
    500: '#c078fc',
    950: '#000000',
  },
}
SCSS
$custom: #c078fc;
$custom-light: #d6a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c078fc",
  "rgb": {
    "r": 192,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 272.727,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70331,
    "c": 0.19517,
    "h": 307.3
  },
  "luminance": 0.31668
}

Semantic roles & 50–950 ramp

primary
#C078FC
secondary
#E4F7D4
accent
#E60068
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C078FC

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

Preview Lab → · Contrast checker → · Palette generator →

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