#C74DBD#C74DBD

#C74DBD is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.2% C 0.201 H 331.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#C74DBD
RGBrgb(199, 77, 189)
HSLhsl(305, 52%, 54%)
HSVhsv(305, 61%, 78%)
CMYKcmyk(0%, 61.3%, 5%, 22%)
CIE-LABlab(53.09, 61.92, -35.54)
CIE-LCHlch(53.09, 71.40, 330.15°)
OKLaboklab(62.17% 0.1762 -0.0975)
OKLCHoklch(62.17% 0.201 331.1)
XYZxyz(35.3922, 21.1265, 50.3480)
Luminance0.2112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74DBD #4DC757
analogous
#944DC7 #C74DBD #C74D80
triadic
#C74DBD #BDC74D #4DBDC7
tetradic
#C74DBD #C7944D #4DC757 #4D80C7
square
#C74DBD #C7944D #4DC757 #4D80C7
split-complementary
#C74DBD #80C74D #4DC794
monochromatic
#75256E #A3339A #C74DBD #D67CCE #E4AAE0

Accessibility & contrast

On white

4.02
#C74DBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#C74DBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74DBD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74DBD#FFFFFF#000000##000000
##C74DBD1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4674C0
Deuteranopia (green-blind)
#6F85BA
Tritanopia (blue-blind)
#CE597E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c74dbd;
/* rgb */ color: rgb(199, 77, 189);
/* oklch */ color: oklch(62.2% 0.201 331.1);
Tailwind
colors: {
  custom: {
    50: '#db86d1',
    500: '#c74dbd',
    950: '#000000',
  },
}
SCSS
$custom: #c74dbd;
$custom-light: #db86d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c74dbd",
  "rgb": {
    "r": 199,
    "g": 77,
    "b": 189
  },
  "hsl": {
    "h": 304.918,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62167,
    "c": 0.20141,
    "h": 331.1
  },
  "luminance": 0.21124
}

Semantic roles & 50–950 ramp

primary
#C74DBD
secondary
#9ED2A2
accent
#DC584C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C74DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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