#C74DBB#C74DBB

#C74DBB is a light, vivid purple. Relative luminance 0.210; OKLCH L 62.1% C 0.200 H 331.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#C74DBB
RGBrgb(199, 77, 187)
HSLhsl(306, 52%, 54%)
HSVhsv(306, 61%, 78%)
CMYKcmyk(0%, 61.3%, 6%, 22%)
CIE-LABlab(52.99, 61.60, -34.53)
CIE-LCHlch(52.99, 70.62, 330.73°)
OKLaboklab(62.07% 0.176 -0.0946)
OKLCHoklch(62.07% 0.2 331.7)
XYZxyz(35.1766, 21.0403, 49.2125)
Luminance0.2104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74DBB #4DC759
analogous
#964DC7 #C74DBB #C74D7E
triadic
#C74DBB #BBC74D #4DBBC7
tetradic
#C74DBB #C7964D #4DC759 #4D7EC7
square
#C74DBB #C7964D #4DC759 #4D7EC7
split-complementary
#C74DBB #7EC74D #4DC796
monochromatic
#75256D #A33398 #C74DBB #D67CCD #E4AADF

Accessibility & contrast

On white

4.03
#C74DBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#C74DBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74DBB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74DBB#FFFFFF#000000##000000
##C74DBB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4774BE
Deuteranopia (green-blind)
#6F85B8
Tritanopia (blue-blind)
#CF587D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c74dbb;
/* rgb */ color: rgb(199, 77, 187);
/* oklch */ color: oklch(62.1% 0.200 331.7);
Tailwind
colors: {
  custom: {
    50: '#db86d0',
    500: '#c74dbb',
    950: '#000000',
  },
}
SCSS
$custom: #c74dbb;
$custom-light: #db86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c74dbb",
  "rgb": {
    "r": 199,
    "g": 77,
    "b": 187
  },
  "hsl": {
    "h": 305.902,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62068,
    "c": 0.19983,
    "h": 331.7
  },
  "luminance": 0.21038
}

Semantic roles & 50–950 ramp

primary
#C74DBB
secondary
#9ED2A3
accent
#DC5A4C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C74DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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