#C74DB7#C74DB7

#C74DB7 is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.9% C 0.197 H 333.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#C74DB7
RGBrgb(199, 77, 183)
HSLhsl(308, 52%, 54%)
HSVhsv(308, 61%, 78%)
CMYKcmyk(0%, 61.3%, 8%, 22%)
CIE-LABlab(52.81, 60.95, -32.50)
CIE-LCHlch(52.81, 69.08, 331.93°)
OKLaboklab(61.87% 0.1755 -0.0888)
OKLCHoklch(61.87% 0.197 333.2)
XYZxyz(34.7544, 20.8714, 46.9887)
Luminance0.2087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74DB7 #4DC75D
analogous
#9A4DC7 #C74DB7 #C74D7A
triadic
#C74DB7 #B7C74D #4DB7C7
tetradic
#C74DB7 #C79A4D #4DC75D #4D7AC7
square
#C74DB7 #C79A4D #4DC75D #4D7AC7
split-complementary
#C74DB7 #7AC74D #4DC79A
monochromatic
#75256A #A33395 #C74DB7 #D67CCA #E4AADD

Accessibility & contrast

On white

4.06
#C74DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#C74DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74DB7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74DB7#FFFFFF#000000##000000
##C74DB71.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A73BA
Deuteranopia (green-blind)
#7184B4
Tritanopia (blue-blind)
#CF577B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c74db7;
/* rgb */ color: rgb(199, 77, 183);
/* oklch */ color: oklch(61.9% 0.197 333.2);
Tailwind
colors: {
  custom: {
    50: '#db86cd',
    500: '#c74db7',
    950: '#000000',
  },
}
SCSS
$custom: #c74db7;
$custom-light: #db86cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c74db7",
  "rgb": {
    "r": 199,
    "g": 77,
    "b": 183
  },
  "hsl": {
    "h": 307.869,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61872,
    "c": 0.1967,
    "h": 333.2
  },
  "luminance": 0.20869
}

Semantic roles & 50–950 ramp

primary
#C74DB7
secondary
#9ED2A5
accent
#DC5F4C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #C74DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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