#C072EA#C072EA

#C072EA is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.5% C 0.185 H 312.5°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#C072EA
RGBrgb(192, 114, 234)
HSLhsl(279, 74%, 68%)
HSVhsv(279, 51%, 92%)
CMYKcmyk(17.9%, 51.3%, 0%, 8.2%)
CIE-LABlab(60.94, 51.01, -48.72)
CIE-LCHlch(60.94, 70.54, 316.31°)
OKLaboklab(68.46% 0.1247 -0.136)
OKLCHoklch(68.46% 0.185 312.5)
XYZxyz(42.6043, 29.1826, 81.2144)
Luminance0.2918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C072EA #9CEA72
analogous
#8472EA #C072EA #EA72D8
triadic
#C072EA #EAC072 #72EAC0
tetradic
#C072EA #EA8472 #9CEA72 #72D8EA
square
#C072EA #EA8472 #9CEA72 #72D8EA
split-complementary
#C072EA #D8EA72 #72EA84
monochromatic
#8A1DC4 #A83DE2 #C072EA #D8A7F2 #F0DDFA

Accessibility & contrast

On white

3.07
#C072EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#C072EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C072EA
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C072EA#FFFFFF#000000##000000
##C072EA1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEE
Deuteranopia (green-blind)
#6C95E7
Tritanopia (blue-blind)
#BC86A4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c072ea;
/* rgb */ color: rgb(192, 114, 234);
/* oklch */ color: oklch(68.5% 0.185 312.5);
Tailwind
colors: {
  custom: {
    50: '#d59df1',
    500: '#c072ea',
    950: '#000000',
  },
}
SCSS
$custom: #c072ea;
$custom-light: #d59df1;
$custom-dark: #000000;
JSON
{
  "hex": "#c072ea",
  "rgb": {
    "r": 192,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 279,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68459,
    "c": 0.18453,
    "h": 312.5
  },
  "luminance": 0.29182
}

Semantic roles & 50–950 ramp

primary
#C072EA
secondary
#D6EECA
accent
#D60F55
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C072EA

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

Preview Lab → · Contrast checker → · Palette generator →

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