#C74FEC#C74FEC

#C74FEC is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 65.0% C 0.239 H 317.2°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#C74FEC
RGBrgb(199, 79, 236)
HSLhsl(286, 81%, 62%)
HSVhsv(286, 67%, 93%)
CMYKcmyk(15.7%, 66.5%, 0%, 7.5%)
CIE-LABlab(55.88, 69.46, -57.85)
CIE-LCHlch(55.88, 90.39, 320.21°)
OKLaboklab(64.99% 0.1753 -0.1623)
OKLCHoklch(64.99% 0.239 317.2)
XYZxyz(41.4873, 23.7919, 81.7476)
Luminance0.2379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FEC #74EC4F
analogous
#794FEC #C74FEC #EC4FC3
triadic
#C74FEC #ECC74F #4FECC7
tetradic
#C74FEC #EC794F #74EC4F #4FC3EC
square
#C74FEC #EC794F #74EC4F #4FC3EC
split-complementary
#C74FEC #C3EC4F #4FEC79
monochromatic
#8913AE #B519E5 #C74FEC #D986F2 #EABDF8

Accessibility & contrast

On white

3.65
#C74FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#C74FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FEC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FEC#FFFFFF#000000##000000
##C74FEC1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF1
Deuteranopia (green-blind)
#538AE8
Tritanopia (blue-blind)
#C56D97
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c74fec;
/* rgb */ color: rgb(199, 79, 236);
/* oklch */ color: oklch(65.0% 0.239 317.2);
Tailwind
colors: {
  custom: {
    50: '#dc89f3',
    500: '#c74fec',
    950: '#000000',
  },
}
SCSS
$custom: #c74fec;
$custom-light: #dc89f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fec",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 236
  },
  "hsl": {
    "h": 285.86,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64991,
    "c": 0.2389,
    "h": 317.2
  },
  "luminance": 0.2379
}

Semantic roles & 50–950 ramp

primary
#C74FEC
secondary
#BCE8AE
accent
#DD093B
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C74FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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