#C74DF2#C74DF2

#C74DF2 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.2% C 0.247 H 315.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#C74DF2
RGBrgb(199, 77, 242)
HSLhsl(284, 86%, 63%)
HSVhsv(284, 68%, 95%)
CMYKcmyk(17.8%, 68.2%, 0%, 5.1%)
CIE-LABlab(55.95, 71.41, -61.09)
CIE-LCHlch(55.95, 93.97, 319.45°)
OKLaboklab(65.16% 0.177 -0.1718)
OKLCHoklch(65.16% 0.247 315.9)
XYZxyz(42.2316, 23.8623, 86.3685)
Luminance0.2386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74DF2 #78F24D
analogous
#754DF2 #C74DF2 #F24DCA
triadic
#C74DF2 #F2C74D #4DF2C7
tetradic
#C74DF2 #F2754D #78F24D #4DCAF2
square
#C74DF2 #F2754D #78F24D #4DCAF2
split-complementary
#C74DF2 #CAF24D #4DF275
monochromatic
#8B0DB7 #B514EE #C74DF2 #D986F6 #EBBFFA

Accessibility & contrast

On white

3.64
#C74DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#C74DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74DF2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74DF2#FFFFFF#000000##000000
##C74DF21.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c74df2;
/* rgb */ color: rgb(199, 77, 242);
/* oklch */ color: oklch(65.2% 0.247 315.9);
Tailwind
colors: {
  custom: {
    50: '#dc88f7',
    500: '#c74df2',
    950: '#000000',
  },
}
SCSS
$custom: #c74df2;
$custom-light: #dc88f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c74df2",
  "rgb": {
    "r": 199,
    "g": 77,
    "b": 242
  },
  "hsl": {
    "h": 284.364,
    "s": 86.387,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65156,
    "c": 0.24666,
    "h": 315.9
  },
  "luminance": 0.23861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C74DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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