#C074EC#C074EC

#C074EC is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.9% C 0.184 H 311.7°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#C074EC
RGBrgb(192, 116, 236)
HSLhsl(278, 76%, 69%)
HSVhsv(278, 51%, 93%)
CMYKcmyk(18.6%, 50.8%, 0%, 7.5%)
CIE-LABlab(61.44, 50.40, -49.04)
CIE-LCHlch(61.44, 70.32, 315.78°)
OKLaboklab(68.86% 0.1222 -0.137)
OKLCHoklch(68.86% 0.184 311.7)
XYZxyz(43.1213, 29.7543, 82.8122)
Luminance0.2975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C074EC #A0EC74
analogous
#8474EC #C074EC #EC74DC
triadic
#C074EC #ECC074 #74ECC0
tetradic
#C074EC #EC8474 #A0EC74 #74DCEC
square
#C074EC #EC8474 #A0EC74 #74DCEC
split-complementary
#C074EC #DCEC74 #74EC84
monochromatic
#8A1CCA #A83EE5 #C074EC #D8AAF3 #F1E0FB

Accessibility & contrast

On white

3.02
#C074EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#C074EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C074EC
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C074EC#FFFFFF#000000##000000
##C074EC1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690F0
Deuteranopia (green-blind)
#6D96E9
Tritanopia (blue-blind)
#BB88A5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c074ec;
/* rgb */ color: rgb(192, 116, 236);
/* oklch */ color: oklch(68.9% 0.184 311.7);
Tailwind
colors: {
  custom: {
    50: '#d59ef2',
    500: '#c074ec',
    950: '#000000',
  },
}
SCSS
$custom: #c074ec;
$custom-light: #d59ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#c074ec",
  "rgb": {
    "r": 192,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 278,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68861,
    "c": 0.18357,
    "h": 311.7
  },
  "luminance": 0.29753
}

Semantic roles & 50–950 ramp

primary
#C074EC
secondary
#D9EFCC
accent
#D80D58
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #C074EC

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

Preview Lab → · Contrast checker → · Palette generator →

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