#C074EF#C074EF

#C074EF is a light, vivid violet. Relative luminance 0.299; OKLCH L 69.0% C 0.187 H 310.9°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#C074EF
RGBrgb(192, 116, 239)
HSLhsl(277, 79%, 70%)
HSVhsv(277, 51%, 94%)
CMYKcmyk(19.7%, 51.5%, 0%, 6.3%)
CIE-LABlab(61.59, 51.04, -50.46)
CIE-LCHlch(61.59, 71.78, 315.33°)
OKLaboklab(69.02% 0.1225 -0.1411)
OKLCHoklch(69.02% 0.187 310.9)
XYZxyz(43.5608, 29.9301, 85.1270)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C074EF #A3EF74
analogous
#8374EF #C074EF #EF74E1
triadic
#C074EF #EFC074 #74EFC0
tetradic
#C074EF #EF8374 #A3EF74 #74E1EF
square
#C074EF #EF8374 #A3EF74 #74E1EF
split-complementary
#C074EF #E1EF74 #74EF83
monochromatic
#8A18D1 #A73DE9 #C074EF #D9ABF5 #F2E2FC

Accessibility & contrast

On white

3.01
#C074EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#C074EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C074EF
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C074EF#FFFFFF#000000##000000
##C074EF1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5391F3
Deuteranopia (green-blind)
#6B96EC
Tritanopia (blue-blind)
#BB89A7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c074ef;
/* rgb */ color: rgb(192, 116, 239);
/* oklch */ color: oklch(69.0% 0.187 310.9);
Tailwind
colors: {
  custom: {
    50: '#d59ef5',
    500: '#c074ef',
    950: '#000000',
  },
}
SCSS
$custom: #c074ef;
$custom-light: #d59ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#c074ef",
  "rgb": {
    "r": 192,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 277.073,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69023,
    "c": 0.18686,
    "h": 310.9
  },
  "luminance": 0.29929
}

Semantic roles & 50–950 ramp

primary
#C074EF
secondary
#DBF1CE
accent
#DC0A5A
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #C074EF

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

Preview Lab → · Contrast checker → · Palette generator →

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