#C74FE4#C74FE4

#C74FE4 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.5% C 0.232 H 319.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#C74FE4
RGBrgb(199, 79, 228)
HSLhsl(288, 73%, 60%)
HSVhsv(288, 65%, 89%)
CMYKcmyk(12.7%, 65.4%, 0%, 10.6%)
CIE-LABlab(55.42, 67.95, -54.09)
CIE-LCHlch(55.42, 86.85, 321.48°)
OKLaboklab(64.51% 0.1756 -0.1513)
OKLCHoklch(64.51% 0.232 319.2)
XYZxyz(40.3509, 23.3374, 75.7628)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FE4 #6CE44F
analogous
#7C4FE4 #C74FE4 #E44FB7
triadic
#C74FE4 #E4C74F #4FE4C7
tetradic
#C74FE4 #E47C4F #6CE44F #4FB7E4
square
#C74FE4 #E47C4F #6CE44F #4FB7E4
split-complementary
#C74FE4 #B7E44F #4FE47C
monochromatic
#8619A0 #B221D5 #C74FE4 #D884EC #E9B9F4

Accessibility & contrast

On white

3.71
#C74FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#C74FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FE4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FE4#FFFFFF#000000##000000
##C74FE41.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7DE8
Deuteranopia (green-blind)
#5989E0
Tritanopia (blue-blind)
#C76993
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c74fe4;
/* rgb */ color: rgb(199, 79, 228);
/* oklch */ color: oklch(64.5% 0.232 319.2);
Tailwind
colors: {
  custom: {
    50: '#dc89ed',
    500: '#c74fe4',
    950: '#000000',
  },
}
SCSS
$custom: #c74fe4;
$custom-light: #dc89ed;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fe4",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 288.322,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64512,
    "c": 0.23178,
    "h": 319.2
  },
  "luminance": 0.23336
}

Semantic roles & 50–950 ramp

primary
#C74FE4
secondary
#B6E4AB
accent
#D61036
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C74FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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