#C74CB4#C74CB4

#C74CB4 is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.6% C 0.196 H 334.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#C74CB4
RGBrgb(199, 76, 180)
HSLhsl(309, 52%, 54%)
HSVhsv(309, 62%, 78%)
CMYKcmyk(0%, 61.8%, 9.5%, 22%)
CIE-LABlab(52.52, 60.90, -31.21)
CIE-LCHlch(52.52, 68.43, 332.86°)
OKLaboklab(61.62% 0.1764 -0.0851)
OKLCHoklch(61.62% 0.196 334.2)
XYZxyz(34.3760, 20.6090, 45.3386)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74CB4 #4CC75F
analogous
#9D4CC7 #C74CB4 #C74C77
triadic
#C74CB4 #B4C74C #4CB4C7
tetradic
#C74CB4 #C79D4C #4CC75F #4C77C7
square
#C74CB4 #C79D4C #4CC75F #4C77C7
split-complementary
#C74CB4 #77C74C #4CC79D
monochromatic
#742468 #A33392 #C74CB4 #D67BC8 #E4A9DB

Accessibility & contrast

On white

4.10
#C74CB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#C74CB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74CB4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74CB4#FFFFFF#000000##000000
##C74CB41.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B72B7
Deuteranopia (green-blind)
#7284B1
Tritanopia (blue-blind)
#D05579
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c74cb4;
/* rgb */ color: rgb(199, 76, 180);
/* oklch */ color: oklch(61.6% 0.196 334.2);
Tailwind
colors: {
  custom: {
    50: '#db86ca',
    500: '#c74cb4',
    950: '#000000',
  },
}
SCSS
$custom: #c74cb4;
$custom-light: #db86ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c74cb4",
  "rgb": {
    "r": 199,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 309.268,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61616,
    "c": 0.19581,
    "h": 334.2
  },
  "luminance": 0.20606
}

Semantic roles & 50–950 ramp

primary
#C74CB4
secondary
#9DD2A5
accent
#DC624C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C74CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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