#C074E2#C074E2

#C074E2 is a light, vivid purple. Relative luminance 0.292; OKLCH L 68.3% C 0.173 H 314.5°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#C074E2
RGBrgb(192, 116, 226)
HSLhsl(281, 65%, 67%)
HSVhsv(281, 49%, 89%)
CMYKcmyk(15%, 48.7%, 0%, 11.4%)
CIE-LABlab(60.95, 48.28, -44.25)
CIE-LCHlch(60.95, 65.49, 317.49°)
OKLaboklab(68.34% 0.1211 -0.1231)
OKLCHoklch(68.34% 0.173 314.5)
XYZxyz(41.7089, 29.1893, 75.3737)
Luminance0.2919 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C074E2 #96E274
analogous
#8974E2 #C074E2 #E274CD
triadic
#C074E2 #E2C074 #74E2C0
tetradic
#C074E2 #E28974 #96E274 #74CDE2
square
#C074E2 #E28974 #96E274 #74CDE2
split-complementary
#C074E2 #CDE274 #74E289
monochromatic
#8926B6 #A941D7 #C074E2 #D7A7ED #EED9F7

Accessibility & contrast

On white

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

On black

6.84
#C074E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C074E2
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C074E2#FFFFFF#000000##000000
##C074E21.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8FE6
Deuteranopia (green-blind)
#7395DF
Tritanopia (blue-blind)
#BE85A1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c074e2;
/* rgb */ color: rgb(192, 116, 226);
/* oklch */ color: oklch(68.3% 0.173 314.5);
Tailwind
colors: {
  custom: {
    50: '#d59eeb',
    500: '#c074e2',
    950: '#000000',
  },
}
SCSS
$custom: #c074e2;
$custom-light: #d59eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#c074e2",
  "rgb": {
    "r": 192,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 281.455,
    "s": 65.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68335,
    "c": 0.17267,
    "h": 314.5
  },
  "luminance": 0.29188
}

Semantic roles & 50–950 ramp

primary
#C074E2
secondary
#D2EAC7
accent
#CD1850
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F16
muted
#837E84

Preview Lab

Preview with #C074E2

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

Preview Lab → · Contrast checker → · Palette generator →

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