#C74CD2#C74CD2

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

Color values

HEX#C74CD2
RGBrgb(199, 76, 210)
HSLhsl(295, 60%, 56%)
HSVhsv(295, 64%, 82%)
CMYKcmyk(5.2%, 63.8%, 0%, 17.6%)
CIE-LABlab(53.99, 65.91, -46.17)
CIE-LCHlch(53.99, 80.47, 324.99°)
OKLaboklab(63.17% 0.1788 -0.1282)
OKLCHoklch(63.17% 0.22 324.4)
XYZxyz(37.7695, 21.9663, 63.2108)
Luminance0.2196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74CD2 #57D24C
analogous
#844CD2 #C74CD2 #D24C9A
triadic
#C74CD2 #D2C74C #4CD2C7
tetradic
#C74CD2 #D2844C #57D24C #4C9AD2
square
#C74CD2 #D2844C #57D24C #4C9AD2
split-complementary
#C74CD2 #9AD24C #4CD284
monochromatic
#7B2183 #A92DB4 #C74CD2 #D67DDE #E6AEEB

Accessibility & contrast

On white

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

On black

5.39
#C74CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74CD2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74CD2#FFFFFF#000000##000000
##C74CD21.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3178D6
Deuteranopia (green-blind)
#6386CF
Tritanopia (blue-blind)
#CB6089
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c74cd2;
/* rgb */ color: rgb(199, 76, 210);
/* oklch */ color: oklch(63.2% 0.220 324.4);
Tailwind
colors: {
  custom: {
    50: '#db86e0',
    500: '#c74cd2',
    950: '#000000',
  },
}
SCSS
$custom: #c74cd2;
$custom-light: #db86e0;
$custom-dark: #000000;
JSON
{
  "hex": "#c74cd2",
  "rgb": {
    "r": 199,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 295.075,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63165,
    "c": 0.22004,
    "h": 324.4
  },
  "luminance": 0.21964
}

Semantic roles & 50–950 ramp

primary
#C74CD2
secondary
#A6D9A1
accent
#E34552
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C74CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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