#C072EB#C072EB

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

Color values

HEX#C072EB
RGBrgb(192, 114, 235)
HSLhsl(279, 75%, 68%)
HSVhsv(279, 51%, 92%)
CMYKcmyk(18.3%, 51.5%, 0%, 7.8%)
CIE-LABlab(60.99, 51.22, -49.20)
CIE-LCHlch(60.99, 71.02, 316.15°)
OKLaboklab(68.51% 0.1248 -0.1374)
OKLCHoklch(68.51% 0.186 312.2)
XYZxyz(42.7483, 29.2402, 81.9732)
Luminance0.2924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C072EB #9DEB72
analogous
#8372EB #C072EB #EB72D9
triadic
#C072EB #EBC072 #72EBC0
tetradic
#C072EB #EB8372 #9DEB72 #72D9EB
square
#C072EB #EB8372 #9DEB72 #72D9EB
split-complementary
#C072EB #D9EB72 #72EB83
monochromatic
#8A1CC6 #A83CE3 #C072EB #D8A8F3 #F0DDFA

Accessibility & contrast

On white

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

On black

6.85
#C072EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C072EB
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C072EB#FFFFFF#000000##000000
##C072EB1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FEF
Deuteranopia (green-blind)
#6C95E8
Tritanopia (blue-blind)
#BC86A4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c072eb;
/* rgb */ color: rgb(192, 114, 235);
/* oklch */ color: oklch(68.5% 0.186 312.2);
Tailwind
colors: {
  custom: {
    50: '#d59df2',
    500: '#c072eb',
    950: '#000000',
  },
}
SCSS
$custom: #c072eb;
$custom-light: #d59df2;
$custom-dark: #000000;
JSON
{
  "hex": "#c072eb",
  "rgb": {
    "r": 192,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 278.678,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68513,
    "c": 0.18561,
    "h": 312.2
  },
  "luminance": 0.29239
}

Semantic roles & 50–950 ramp

primary
#C072EB
secondary
#D7EFCA
accent
#D70E56
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C072EB

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

Preview Lab → · Contrast checker → · Palette generator →

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