#C74CD3#C74CD3

#C74CD3 is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.2% C 0.221 H 324.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#C74CD3
RGBrgb(199, 76, 211)
HSLhsl(295, 61%, 56%)
HSVhsv(295, 64%, 83%)
CMYKcmyk(5.7%, 64%, 0%, 17.3%)
CIE-LABlab(54.04, 66.09, -46.65)
CIE-LCHlch(54.04, 80.89, 324.78°)
OKLaboklab(63.22% 0.1789 -0.1296)
OKLCHoklch(63.22% 0.221 324.1)
XYZxyz(37.8945, 22.0163, 63.8690)
Luminance0.2201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74CD3 #58D34C
analogous
#844CD3 #C74CD3 #D34C9C
triadic
#C74CD3 #D3C74C #4CD3C7
tetradic
#C74CD3 #D3844C #58D34C #4C9CD3
square
#C74CD3 #D3844C #58D34C #4C9CD3
split-complementary
#C74CD3 #9CD34C #4CD384
monochromatic
#7B2084 #A92DB5 #C74CD3 #D67DDF #E6AEEB

Accessibility & contrast

On white

3.89
#C74CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#C74CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74CD3
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74CD3#FFFFFF#000000##000000
##C74CD31.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3078D7
Deuteranopia (green-blind)
#6386D0
Tritanopia (blue-blind)
#CB6189
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c74cd3;
/* rgb */ color: rgb(199, 76, 211);
/* oklch */ color: oklch(63.2% 0.221 324.1);
Tailwind
colors: {
  custom: {
    50: '#db87e1',
    500: '#c74cd3',
    950: '#000000',
  },
}
SCSS
$custom: #c74cd3;
$custom-light: #db87e1;
$custom-dark: #000000;
JSON
{
  "hex": "#c74cd3",
  "rgb": {
    "r": 199,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 294.667,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6322,
    "c": 0.22088,
    "h": 324.1
  },
  "luminance": 0.22014
}

Semantic roles & 50–950 ramp

primary
#C74CD3
secondary
#A7D9A2
accent
#E44452
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C74CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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