#C740BE#C740BE

#C740BE is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.9% C 0.219 H 330.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C740BE
RGBrgb(199, 64, 190)
HSLhsl(304, 55%, 52%)
HSVhsv(304, 68%, 78%)
CMYKcmyk(0%, 67.8%, 4.5%, 22%)
CIE-LABlab(51.30, 67.20, -38.93)
CIE-LCHlch(51.30, 77.66, 329.92°)
OKLaboklab(60.89% 0.1911 -0.1071)
OKLCHoklch(60.89% 0.219 330.7)
XYZxyz(34.6807, 19.5292, 50.6481)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C740BE #40C749
analogous
#8D40C7 #C740BE #C7407B
triadic
#C740BE #BEC740 #40BEC7
tetradic
#C740BE #C78D40 #40C749 #407BC7
square
#C740BE #C78D40 #40C749 #407BC7
split-complementary
#C740BE #7BC740 #40C78D
monochromatic
#6D2068 #9C2E95 #C740BE #D56FCE #E39FDE

Accessibility & contrast

On white

4.28
#C740BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#C740BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C740BE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C740BE#FFFFFF#000000##000000
##C740BE1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#356EC2
Deuteranopia (green-blind)
#6781BB
Tritanopia (blue-blind)
#CF4F7A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c740be;
/* rgb */ color: rgb(199, 64, 190);
/* oklch */ color: oklch(60.9% 0.219 330.7);
Tailwind
colors: {
  custom: {
    50: '#dc80d2',
    500: '#c740be',
    950: '#000000',
  },
}
SCSS
$custom: #c740be;
$custom-light: #dc80d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c740be",
  "rgb": {
    "r": 199,
    "g": 64,
    "b": 190
  },
  "hsl": {
    "h": 304,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60887,
    "c": 0.21905,
    "h": 330.7
  },
  "luminance": 0.19527
}

Semantic roles & 50–950 ramp

primary
#C740BE
secondary
#94CF98
accent
#DE544A
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C740BE

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

Preview Lab → · Contrast checker → · Palette generator →

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