#C072ED#C072ED

#C072ED is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.6% C 0.188 H 311.7°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#C072ED
RGBrgb(192, 114, 237)
HSLhsl(278, 77%, 69%)
HSVhsv(278, 52%, 93%)
CMYKcmyk(19%, 51.9%, 0%, 7.1%)
CIE-LABlab(61.09, 51.65, -50.15)
CIE-LCHlch(61.09, 71.99, 315.85°)
OKLaboklab(68.62% 0.1249 -0.1402)
OKLCHoklch(68.62% 0.188 311.7)
XYZxyz(43.0389, 29.3564, 83.5035)
Luminance0.2936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C072ED #9FED72
analogous
#8372ED #C072ED #ED72DC
triadic
#C072ED #EDC072 #72EDC0
tetradic
#C072ED #ED8372 #9FED72 #72DCED
square
#C072ED #ED8372 #9FED72 #72DCED
split-complementary
#C072ED #DCED72 #72ED83
monochromatic
#8A1ACB #A83CE6 #C072ED #D8A8F4 #F0DFFB

Accessibility & contrast

On white

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

On black

6.87
#C072ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C072ED
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C072ED#FFFFFF#000000##000000
##C072ED1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#528FF1
Deuteranopia (green-blind)
#6A95EA
Tritanopia (blue-blind)
#BB86A5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c072ed;
/* rgb */ color: rgb(192, 114, 237);
/* oklch */ color: oklch(68.6% 0.188 311.7);
Tailwind
colors: {
  custom: {
    50: '#d59df3',
    500: '#c072ed',
    950: '#000000',
  },
}
SCSS
$custom: #c072ed;
$custom-light: #d59df3;
$custom-dark: #000000;
JSON
{
  "hex": "#c072ed",
  "rgb": {
    "r": 192,
    "g": 114,
    "b": 237
  },
  "hsl": {
    "h": 278.049,
    "s": 77.358,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68622,
    "c": 0.18778,
    "h": 311.7
  },
  "luminance": 0.29356
}

Semantic roles & 50–950 ramp

primary
#C072ED
secondary
#D9F0CB
accent
#DA0C57
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C072ED

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

Preview Lab → · Contrast checker → · Palette generator →

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