#C74FBD#C74FBD

#C74FBD is a light, vivid purple. Relative luminance 0.214; OKLCH L 62.4% C 0.199 H 331.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#C74FBD
RGBrgb(199, 79, 189)
HSLhsl(305, 52%, 55%)
HSVhsv(305, 60%, 78%)
CMYKcmyk(0%, 60.3%, 5%, 22%)
CIE-LABlab(53.40, 61.08, -35.06)
CIE-LCHlch(53.40, 70.42, 330.14°)
OKLaboklab(62.39% 0.1738 -0.0961)
OKLCHoklch(62.39% 0.199 331.1)
XYZxyz(35.5343, 21.4107, 50.3953)
Luminance0.2141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FBD #4FC759
analogous
#954FC7 #C74FBD #C74F81
triadic
#C74FBD #BDC74F #4FBDC7
tetradic
#C74FBD #C7954F #4FC759 #4F81C7
square
#C74FBD #C7954F #4FC759 #4F81C7
split-complementary
#C74FBD #81C74F #4FC795
monochromatic
#76266F #A4349B #C74FBD #D67DCE #E5ACE0

Accessibility & contrast

On white

3.98
#C74FBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#C74FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FBD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FBD#FFFFFF#000000##000000
##C74FBD1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4875C0
Deuteranopia (green-blind)
#7086BA
Tritanopia (blue-blind)
#CE5A7F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c74fbd;
/* rgb */ color: rgb(199, 79, 189);
/* oklch */ color: oklch(62.4% 0.199 331.1);
Tailwind
colors: {
  custom: {
    50: '#db88d1',
    500: '#c74fbd',
    950: '#000000',
  },
}
SCSS
$custom: #c74fbd;
$custom-light: #db88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fbd",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 305,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.62392,
    "c": 0.19861,
    "h": 331.1
  },
  "luminance": 0.21408
}

Semantic roles & 50–950 ramp

primary
#C74FBD
secondary
#A0D2A4
accent
#DB594D
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C74FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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