#C74EF2#C74EF2

#C74EF2 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.3% C 0.245 H 315.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#C74EF2
RGBrgb(199, 78, 242)
HSLhsl(284, 86%, 63%)
HSVhsv(284, 68%, 95%)
CMYKcmyk(17.8%, 67.8%, 0%, 5.1%)
CIE-LABlab(56.09, 71.01, -60.86)
CIE-LCHlch(56.09, 93.52, 319.40°)
OKLaboklab(65.26% 0.176 -0.1711)
OKLCHoklch(65.26% 0.245 315.8)
XYZxyz(42.3021, 24.0033, 86.3920)
Luminance0.2400 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74EF2 #79F24E
analogous
#754EF2 #C74EF2 #F24ECB
triadic
#C74EF2 #F2C74E #4EF2C7
tetradic
#C74EF2 #F2754E #79F24E #4ECBF2
square
#C74EF2 #F2754E #79F24E #4ECBF2
split-complementary
#C74EF2 #CBF24E #4EF275
monochromatic
#8B0EB8 #B515EE #C74EF2 #D987F6 #EBC0FA

Accessibility & contrast

On white

3.62
#C74EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#C74EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74EF2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74EF2#FFFFFF#000000##000000
##C74EF21.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#4C8AEE
Tritanopia (blue-blind)
#C46E9A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c74ef2;
/* rgb */ color: rgb(199, 78, 242);
/* oklch */ color: oklch(65.3% 0.245 315.8);
Tailwind
colors: {
  custom: {
    50: '#dc89f7',
    500: '#c74ef2',
    950: '#000000',
  },
}
SCSS
$custom: #c74ef2;
$custom-light: #dc89f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c74ef2",
  "rgb": {
    "r": 199,
    "g": 78,
    "b": 242
  },
  "hsl": {
    "h": 284.268,
    "s": 86.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.65257,
    "c": 0.24547,
    "h": 315.8
  },
  "luminance": 0.24002
}

Semantic roles & 50–950 ramp

primary
#C74EF2
secondary
#C0ECB0
accent
#E3033D
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #C74EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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