#C072EF#C072EF

#C072EF is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.7% C 0.190 H 311.2°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#C072EF
RGBrgb(192, 114, 239)
HSLhsl(277, 80%, 69%)
HSVhsv(277, 52%, 94%)
CMYKcmyk(19.7%, 52.3%, 0%, 6.3%)
CIE-LABlab(61.20, 52.08, -51.09)
CIE-LCHlch(61.20, 72.95, 315.55°)
OKLaboklab(68.73% 0.1251 -0.143)
OKLCHoklch(68.73% 0.19 311.2)
XYZxyz(43.3327, 29.4740, 85.0509)
Luminance0.2947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C072EF #A1EF72
analogous
#8272EF #C072EF #EF72E0
triadic
#C072EF #EFC072 #72EFC0
tetradic
#C072EF #EF8272 #A1EF72 #72E0EF
square
#C072EF #EF8272 #A1EF72 #72E0EF
split-complementary
#C072EF #E0EF72 #72EF82
monochromatic
#8A18CF #A73BE9 #C072EF #D9A9F5 #F1E0FB

Accessibility & contrast

On white

3.05
#C072EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#C072EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C072EF
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C072EF#FFFFFF#000000##000000
##C072EF1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5090F3
Deuteranopia (green-blind)
#6995EC
Tritanopia (blue-blind)
#BB87A6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c072ef;
/* rgb */ color: rgb(192, 114, 239);
/* oklch */ color: oklch(68.7% 0.190 311.2);
Tailwind
colors: {
  custom: {
    50: '#d69df5',
    500: '#c072ef',
    950: '#000000',
  },
}
SCSS
$custom: #c072ef;
$custom-light: #d69df5;
$custom-dark: #000000;
JSON
{
  "hex": "#c072ef",
  "rgb": {
    "r": 192,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 277.44,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68731,
    "c": 0.18995,
    "h": 311.2
  },
  "luminance": 0.29473
}

Semantic roles & 50–950 ramp

primary
#C072EF
secondary
#DAF1CC
accent
#DC0A59
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #C072EF

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

Preview Lab → · Contrast checker → · Palette generator →

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