#C74FEA#C74FEA

#C74FEA is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.9% C 0.237 H 317.7°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#C74FEA
RGBrgb(199, 79, 234)
HSLhsl(286, 79%, 61%)
HSVhsv(286, 66%, 92%)
CMYKcmyk(15%, 66.2%, 0%, 8.2%)
CIE-LABlab(55.76, 69.08, -56.91)
CIE-LCHlch(55.76, 89.50, 320.52°)
OKLaboklab(64.87% 0.1754 -0.1596)
OKLCHoklch(64.87% 0.237 317.7)
XYZxyz(41.1983, 23.6763, 80.2258)
Luminance0.2367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FEA #72EA4F
analogous
#7A4FEA #C74FEA #EA4FBF
triadic
#C74FEA #EAC74F #4FEAC7
tetradic
#C74FEA #EA7A4F #72EA4F #4FBFEA
square
#C74FEA #EA7A4F #72EA4F #4FBFEA
split-complementary
#C74FEA #BFEA4F #4FEA7A
monochromatic
#8814AA #B41BE1 #C74FEA #D886F1 #EABCF7

Accessibility & contrast

On white

3.66
#C74FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#C74FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FEA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FEA#FFFFFF#000000##000000
##C74FEA1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#027EEF
Deuteranopia (green-blind)
#5489E6
Tritanopia (blue-blind)
#C66C96
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c74fea;
/* rgb */ color: rgb(199, 79, 234);
/* oklch */ color: oklch(64.9% 0.237 317.7);
Tailwind
colors: {
  custom: {
    50: '#dc89f1',
    500: '#c74fea',
    950: '#000000',
  },
}
SCSS
$custom: #c74fea;
$custom-light: #dc89f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fea",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 286.452,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6487,
    "c": 0.2371,
    "h": 317.7
  },
  "luminance": 0.23675
}

Semantic roles & 50–950 ramp

primary
#C74FEA
secondary
#BBE7AD
accent
#DB0B3A
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C74FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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