#C740BC#C740BC

#C740BC is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.8% C 0.218 H 331.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C740BC
RGBrgb(199, 64, 188)
HSLhsl(305, 55%, 52%)
HSVhsv(305, 68%, 78%)
CMYKcmyk(0%, 67.8%, 5.5%, 22%)
CIE-LABlab(51.20, 66.88, -37.93)
CIE-LCHlch(51.20, 76.89, 330.44°)
OKLaboklab(60.78% 0.1909 -0.1043)
OKLCHoklch(60.78% 0.218 331.4)
XYZxyz(34.4636, 19.4424, 49.5048)
Luminance0.1944 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C740BC #40C74B
analogous
#8F40C7 #C740BC #C74079
triadic
#C740BC #BCC740 #40BCC7
tetradic
#C740BC #C78F40 #40C74B #4079C7
square
#C740BC #C78F40 #40C74B #4079C7
split-complementary
#C740BC #79C740 #40C78F
monochromatic
#6D2066 #9C2E93 #C740BC #D56FCD #E39FDD

Accessibility & contrast

On white

4.30
#C740BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#C740BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C740BC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C740BC#FFFFFF#000000##000000
##C740BC1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#376EC0
Deuteranopia (green-blind)
#6881B9
Tritanopia (blue-blind)
#CF4E79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c740bc;
/* rgb */ color: rgb(199, 64, 188);
/* oklch */ color: oklch(60.8% 0.218 331.4);
Tailwind
colors: {
  custom: {
    50: '#dc80d0',
    500: '#c740bc',
    950: '#000000',
  },
}
SCSS
$custom: #c740bc;
$custom-light: #dc80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c740bc",
  "rgb": {
    "r": 199,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 304.889,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60782,
    "c": 0.21753,
    "h": 331.4
  },
  "luminance": 0.1944
}

Semantic roles & 50–950 ramp

primary
#C740BC
secondary
#94CF99
accent
#DE564A
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C740BC

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

Preview Lab → · Contrast checker → · Palette generator →

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