#C74ECF#C74ECF

#C74ECF is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.2% C 0.215 H 325.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#C74ECF
RGBrgb(199, 78, 207)
HSLhsl(296, 57%, 56%)
HSVhsv(296, 62%, 81%)
CMYKcmyk(3.9%, 62.3%, 0%, 18.8%)
CIE-LABlab(54.13, 64.56, -44.24)
CIE-LCHlch(54.13, 78.26, 325.58°)
OKLaboklab(63.22% 0.1764 -0.1226)
OKLCHoklch(63.22% 0.215 325.2)
XYZxyz(37.5392, 22.0981, 61.3075)
Luminance0.2210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74ECF #56CF4E
analogous
#864ECF #C74ECF #CF4E96
triadic
#C74ECF #CFC74E #4ECFC7
tetradic
#C74ECF #CF864E #56CF4E #4E96CF
square
#C74ECF #CF864E #56CF4E #4E96CF
split-complementary
#C74ECF #96CF4E #4ECF86
monochromatic
#7A2380 #A830B0 #C74ECF #D67EDC #E5AEE9

Accessibility & contrast

On white

3.88
#C74ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#C74ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74ECF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74ECF#FFFFFF#000000##000000
##C74ECF1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3878D3
Deuteranopia (green-blind)
#6687CC
Tritanopia (blue-blind)
#CB6088
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c74ecf;
/* rgb */ color: rgb(199, 78, 207);
/* oklch */ color: oklch(63.2% 0.215 325.2);
Tailwind
colors: {
  custom: {
    50: '#db87de',
    500: '#c74ecf',
    950: '#000000',
  },
}
SCSS
$custom: #c74ecf;
$custom-light: #db87de;
$custom-dark: #000000;
JSON
{
  "hex": "#c74ecf",
  "rgb": {
    "r": 199,
    "g": 78,
    "b": 207
  },
  "hsl": {
    "h": 296.279,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63215,
    "c": 0.21486,
    "h": 325.2
  },
  "luminance": 0.22096
}

Semantic roles & 50–950 ramp

primary
#C74ECF
secondary
#A5D7A2
accent
#E14751
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C74ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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