#C74DBF#C74DBF

#C74DBF is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.3% C 0.203 H 330.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#C74DBF
RGBrgb(199, 77, 191)
HSLhsl(304, 52%, 54%)
HSVhsv(304, 61%, 78%)
CMYKcmyk(0%, 61.3%, 4%, 22%)
CIE-LABlab(53.18, 62.25, -36.55)
CIE-LCHlch(53.18, 72.19, 329.58°)
OKLaboklab(62.27% 0.1765 -0.1004)
OKLCHoklch(62.27% 0.203 330.4)
XYZxyz(35.6108, 21.2140, 51.4992)
Luminance0.2121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74DBF #4DC755
analogous
#924DC7 #C74DBF #C74D82
triadic
#C74DBF #BFC74D #4DBFC7
tetradic
#C74DBF #C7924D #4DC755 #4D82C7
square
#C74DBF #C7924D #4DC755 #4D82C7
split-complementary
#C74DBF #82C74D #4DC792
monochromatic
#752570 #A3339C #C74DBF #D67CD0 #E4AAE0

Accessibility & contrast

On white

4.01
#C74DBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#C74DBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74DBF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74DBF#FFFFFF#000000##000000
##C74DBF1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4474C2
Deuteranopia (green-blind)
#6E85BC
Tritanopia (blue-blind)
#CE5A7F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c74dbf;
/* rgb */ color: rgb(199, 77, 191);
/* oklch */ color: oklch(62.3% 0.203 330.4);
Tailwind
colors: {
  custom: {
    50: '#db86d2',
    500: '#c74dbf',
    950: '#000000',
  },
}
SCSS
$custom: #c74dbf;
$custom-light: #db86d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c74dbf",
  "rgb": {
    "r": 199,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 303.934,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62268,
    "c": 0.20301,
    "h": 330.4
  },
  "luminance": 0.21211
}

Semantic roles & 50–950 ramp

primary
#C74DBF
secondary
#9ED2A1
accent
#DC564C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C74DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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