#C74CD5#C74CD5

#C74CD5 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.3% C 0.223 H 323.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#C74CD5
RGBrgb(199, 76, 213)
HSLhsl(294, 62%, 57%)
HSVhsv(294, 64%, 84%)
CMYKcmyk(6.6%, 64.3%, 0%, 16.5%)
CIE-LABlab(54.15, 66.44, -47.62)
CIE-LCHlch(54.15, 81.75, 324.37°)
OKLaboklab(63.33% 0.1789 -0.1324)
OKLCHoklch(63.33% 0.223 323.5)
XYZxyz(38.1468, 22.1172, 65.1977)
Luminance0.2212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74CD5 #5AD54C
analogous
#834CD5 #C74CD5 #D54C9E
triadic
#C74CD5 #D5C74C #4CD5C7
tetradic
#C74CD5 #D5834C #5AD54C #4C9ED5
square
#C74CD5 #D5834C #5AD54C #4C9ED5
split-complementary
#C74CD5 #9ED54C #4CD583
monochromatic
#7C2087 #AA2BB9 #C74CD5 #D77EE1 #E6AFEC

Accessibility & contrast

On white

3.87
#C74CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#C74CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74CD5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74CD5#FFFFFF#000000##000000
##C74CD51.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D78D9
Deuteranopia (green-blind)
#6186D2
Tritanopia (blue-blind)
#CA618A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c74cd5;
/* rgb */ color: rgb(199, 76, 213);
/* oklch */ color: oklch(63.3% 0.223 323.5);
Tailwind
colors: {
  custom: {
    50: '#db87e2',
    500: '#c74cd5',
    950: '#000000',
  },
}
SCSS
$custom: #c74cd5;
$custom-light: #db87e2;
$custom-dark: #000000;
JSON
{
  "hex": "#c74cd5",
  "rgb": {
    "r": 199,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 293.869,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63332,
    "c": 0.22258,
    "h": 323.5
  },
  "luminance": 0.22115
}

Semantic roles & 50–950 ramp

primary
#C74CD5
secondary
#A8DAA2
accent
#E54353
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C74CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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