#C072EC#C072EC

#C072EC is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.6% C 0.187 H 312.0°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#C072EC
RGBrgb(192, 114, 236)
HSLhsl(278, 76%, 69%)
HSVhsv(278, 52%, 93%)
CMYKcmyk(18.6%, 51.7%, 0%, 7.5%)
CIE-LABlab(61.04, 51.43, -49.67)
CIE-LCHlch(61.04, 71.50, 316.00°)
OKLaboklab(68.57% 0.1248 -0.1388)
OKLCHoklch(68.57% 0.187 312)
XYZxyz(42.8932, 29.2982, 82.7362)
Luminance0.2930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C072EC #9EEC72
analogous
#8372EC #C072EC #EC72DB
triadic
#C072EC #ECC072 #72ECC0
tetradic
#C072EC #EC8372 #9EEC72 #72DBEC
square
#C072EC #EC8372 #9EEC72 #72DBEC
split-complementary
#C072EC #DBEC72 #72EC83
monochromatic
#8A1BC9 #A83CE5 #C072EC #D8A8F3 #F0DEFB

Accessibility & contrast

On white

3.06
#C072EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#C072EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C072EC
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C072EC#FFFFFF#000000##000000
##C072EC1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FF0
Deuteranopia (green-blind)
#6B95E9
Tritanopia (blue-blind)
#BB86A4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c072ec;
/* rgb */ color: rgb(192, 114, 236);
/* oklch */ color: oklch(68.6% 0.187 312.0);
Tailwind
colors: {
  custom: {
    50: '#d59df2',
    500: '#c072ec',
    950: '#000000',
  },
}
SCSS
$custom: #c072ec;
$custom-light: #d59df2;
$custom-dark: #000000;
JSON
{
  "hex": "#c072ec",
  "rgb": {
    "r": 192,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 278.361,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68567,
    "c": 0.18669,
    "h": 312
  },
  "luminance": 0.29297
}

Semantic roles & 50–950 ramp

primary
#C072EC
secondary
#D8EFCB
accent
#D80D56
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C072EC

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

Preview Lab → · Contrast checker → · Palette generator →

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