#C74CD7#C74CD7

#C74CD7 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.4% C 0.224 H 322.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#C74CD7
RGBrgb(199, 76, 215)
HSLhsl(293, 63%, 57%)
HSVhsv(293, 65%, 84%)
CMYKcmyk(7.4%, 64.7%, 0%, 15.7%)
CIE-LABlab(54.26, 66.80, -48.59)
CIE-LCHlch(54.26, 82.60, 323.97°)
OKLaboklab(63.44% 0.1789 -0.1352)
OKLCHoklch(63.44% 0.224 322.9)
XYZxyz(38.4022, 22.2194, 66.5428)
Luminance0.2222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74CD7 #5CD74C
analogous
#824CD7 #C74CD7 #D74CA1
triadic
#C74CD7 #D7C74C #4CD7C7
tetradic
#C74CD7 #D7824C #5CD74C #4CA1D7
square
#C74CD7 #D7824C #5CD74C #4CA1D7
split-complementary
#C74CD7 #A1D74C #4CD782
monochromatic
#7D1F8A #AB2ABC #C74CD7 #D77EE2 #E6B0ED

Accessibility & contrast

On white

3.86
#C74CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#C74CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74CD7
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74CD7#FFFFFF#000000##000000
##C74CD71.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B79DB
Deuteranopia (green-blind)
#6087D3
Tritanopia (blue-blind)
#CA628B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c74cd7;
/* rgb */ color: rgb(199, 76, 215);
/* oklch */ color: oklch(63.4% 0.224 322.9);
Tailwind
colors: {
  custom: {
    50: '#db87e4',
    500: '#c74cd7',
    950: '#000000',
  },
}
SCSS
$custom: #c74cd7;
$custom-light: #db87e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c74cd7",
  "rgb": {
    "r": 199,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 293.094,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63445,
    "c": 0.22429,
    "h": 322.9
  },
  "luminance": 0.22217
}

Semantic roles & 50–950 ramp

primary
#C74CD7
secondary
#AADCA3
accent
#E64154
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C15
muted
#837D84

Preview Lab

Preview with #C74CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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