#C74FD7#C74FD7

#C74FD7 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.8% C 0.220 H 322.8°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#C74FD7
RGBrgb(199, 79, 215)
HSLhsl(293, 63%, 58%)
HSVhsv(293, 63%, 84%)
CMYKcmyk(7.4%, 63.3%, 0%, 15.7%)
CIE-LABlab(54.70, 65.56, -47.88)
CIE-LCHlch(54.70, 81.19, 323.86°)
OKLaboklab(63.77% 0.1756 -0.1332)
OKLCHoklch(63.77% 0.22 322.8)
XYZxyz(38.6137, 22.6425, 66.6133)
Luminance0.2264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FD7 #5FD74F
analogous
#834FD7 #C74FD7 #D74FA3
triadic
#C74FD7 #D7C74F #4FD7C7
tetradic
#C74FD7 #D7834F #5FD74F #4FA3D7
square
#C74FD7 #D7834F #5FD74F #4FA3D7
split-complementary
#C74FD7 #A3D74F #4FD783
monochromatic
#7F208C #AC2BBE #C74FD7 #D781E2 #E7B3EE

Accessibility & contrast

On white

3.80
#C74FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#C74FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FD7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FD7#FFFFFF#000000##000000
##C74FD71.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#307ADB
Deuteranopia (green-blind)
#6288D4
Tritanopia (blue-blind)
#CA648C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c74fd7;
/* rgb */ color: rgb(199, 79, 215);
/* oklch */ color: oklch(63.8% 0.220 322.8);
Tailwind
colors: {
  custom: {
    50: '#db88e4',
    500: '#c74fd7',
    950: '#000000',
  },
}
SCSS
$custom: #c74fd7;
$custom-light: #db88e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fd7",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 292.941,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63765,
    "c": 0.22038,
    "h": 322.8
  },
  "luminance": 0.2264
}

Semantic roles & 50–950 ramp

primary
#C74FD7
secondary
#ACDCA6
accent
#E64255
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C15
muted
#837D84

Preview Lab

Preview with #C74FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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