#C74FE8#C74FE8

#C74FE8 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.8% C 0.235 H 318.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#C74FE8
RGBrgb(199, 79, 232)
HSLhsl(287, 77%, 61%)
HSVhsv(287, 66%, 91%)
CMYKcmyk(14.2%, 65.9%, 0%, 9%)
CIE-LABlab(55.65, 68.70, -55.98)
CIE-LCHlch(55.65, 88.62, 320.83°)
OKLaboklab(64.75% 0.1755 -0.1568)
OKLCHoklch(64.75% 0.235 318.2)
XYZxyz(40.9126, 23.5620, 78.7211)
Luminance0.2356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FE8 #70E84F
analogous
#7A4FE8 #C74FE8 #E84FBC
triadic
#C74FE8 #E8C74F #4FE8C7
tetradic
#C74FE8 #E87A4F #70E84F #4FBCE8
square
#C74FE8 #E87A4F #70E84F #4FBCE8
split-complementary
#C74FE8 #BCE84F #4FE87A
monochromatic
#8816A7 #B41DDD #C74FE8 #D885EF #E9BBF6

Accessibility & contrast

On white

3.68
#C74FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#C74FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FE8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FE8#FFFFFF#000000##000000
##C74FE81.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7EED
Deuteranopia (green-blind)
#5689E4
Tritanopia (blue-blind)
#C66B95
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c74fe8;
/* rgb */ color: rgb(199, 79, 232);
/* oklch */ color: oklch(64.8% 0.235 318.2);
Tailwind
colors: {
  custom: {
    50: '#dc89f0',
    500: '#c74fe8',
    950: '#000000',
  },
}
SCSS
$custom: #c74fe8;
$custom-light: #dc89f0;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fe8",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 287.059,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6475,
    "c": 0.23533,
    "h": 318.2
  },
  "luminance": 0.2356
}

Semantic roles & 50–950 ramp

primary
#C74FE8
secondary
#B9E6AD
accent
#D90C39
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C74FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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