#C080EC#C080EC

#C080EC is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.7% C 0.164 H 310.1°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#C080EC
RGBrgb(192, 128, 236)
HSLhsl(276, 74%, 71%)
HSVhsv(276, 46%, 93%)
CMYKcmyk(18.6%, 45.8%, 0%, 7.5%)
CIE-LABlab(63.92, 44.05, -45.13)
CIE-LCHlch(63.92, 63.06, 314.30°)
OKLaboklab(70.7% 0.106 -0.1257)
OKLCHoklch(70.7% 0.164 310.1)
XYZxyz(44.5949, 32.7017, 83.3034)
Luminance0.3270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C080EC #ACEC80
analogous
#8A80EC #C080EC #EC80E2
triadic
#C080EC #ECC080 #80ECC0
tetradic
#C080EC #EC8A80 #ACEC80 #80E2EC
square
#C080EC #EC8A80 #ACEC80 #80E2EC
split-complementary
#C080EC #E2EC80 #80EC8A
monochromatic
#891FD2 #A64BE4 #C080EC #DAB5F4 #F2E4FB

Accessibility & contrast

On white

2.79
#C080EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#C080EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C080EC
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C080EC#FFFFFF#000000##000000
##C080EC1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F0
Deuteranopia (green-blind)
#789CE9
Tritanopia (blue-blind)
#BB91AB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c080ec;
/* rgb */ color: rgb(192, 128, 236);
/* oklch */ color: oklch(70.7% 0.164 310.1);
Tailwind
colors: {
  custom: {
    50: '#d5a6f2',
    500: '#c080ec',
    950: '#000000',
  },
}
SCSS
$custom: #c080ec;
$custom-light: #d5a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c080ec",
  "rgb": {
    "r": 192,
    "g": 128,
    "b": 236
  },
  "hsl": {
    "h": 275.556,
    "s": 73.973,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70703,
    "c": 0.1644,
    "h": 310.1
  },
  "luminance": 0.32701
}

Semantic roles & 50–950 ramp

primary
#C080EC
secondary
#E1F2D6
accent
#D60F60
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #C080EC

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

Preview Lab → · Contrast checker → · Palette generator →

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