#C74FF2#C74FF2

#C74FF2 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.4% C 0.244 H 315.7°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#C74FF2
RGBrgb(199, 79, 242)
HSLhsl(284, 86%, 63%)
HSVhsv(284, 67%, 95%)
CMYKcmyk(17.8%, 67.4%, 0%, 5.1%)
CIE-LABlab(56.23, 70.61, -60.63)
CIE-LCHlch(56.23, 93.07, 319.35°)
OKLaboklab(65.36% 0.175 -0.1705)
OKLCHoklch(65.36% 0.244 315.7)
XYZxyz(42.3737, 24.1465, 86.4158)
Luminance0.2414 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FF2 #7AF24F
analogous
#764FF2 #C74FF2 #F24FCB
triadic
#C74FF2 #F2C74F #4FF2C7
tetradic
#C74FF2 #F2764F #7AF24F #4FCBF2
square
#C74FF2 #F2764F #7AF24F #4FCBF2
split-complementary
#C74FF2 #CBF24F #4FF276
monochromatic
#8C0EB9 #B516EE #C74FF2 #D988F6 #EBC1FA

Accessibility & contrast

On white

3.60
#C74FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#C74FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FF2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FF2#FFFFFF#000000##000000
##C74FF21.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#4D8AEE
Tritanopia (blue-blind)
#C46F9B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c74ff2;
/* rgb */ color: rgb(199, 79, 242);
/* oklch */ color: oklch(65.4% 0.244 315.7);
Tailwind
colors: {
  custom: {
    50: '#dc89f7',
    500: '#c74ff2',
    950: '#000000',
  },
}
SCSS
$custom: #c74ff2;
$custom-light: #dc89f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c74ff2",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 284.172,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6536,
    "c": 0.24426,
    "h": 315.7
  },
  "luminance": 0.24145
}

Semantic roles & 50–950 ramp

primary
#C74FF2
secondary
#C1ECB1
accent
#E3033E
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #C74FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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