#C740CF#C740CF

#C740CF is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.8% C 0.232 H 325.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C740CF
RGBrgb(199, 64, 207)
HSLhsl(297, 60%, 53%)
HSVhsv(297, 69%, 81%)
CMYKcmyk(3.9%, 69.1%, 0%, 18.8%)
CIE-LABlab(52.19, 69.99, -47.31)
CIE-LCHlch(52.19, 84.48, 325.94°)
OKLaboklab(61.82% 0.1915 -0.1314)
OKLCHoklch(61.82% 0.232 325.5)
XYZxyz(36.6483, 20.3163, 61.0105)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C740CF #48CF40
analogous
#7F40CF #C740CF #CF4090
triadic
#C740CF #CFC740 #40CFC7
tetradic
#C740CF #CF7F40 #48CF40 #4090CF
square
#C740CF #CF7F40 #48CF40 #4090CF
split-complementary
#C740CF #90CF40 #40CF7F
monochromatic
#721E77 #A12AA8 #C740CF #D571DB #E4A2E8

Accessibility & contrast

On white

4.15
#C740CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#C740CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C740CF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C740CF#FFFFFF#000000##000000
##C740CF1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E72D3
Deuteranopia (green-blind)
#5E82CB
Tritanopia (blue-blind)
#CC5783
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c740cf;
/* rgb */ color: rgb(199, 64, 207);
/* oklch */ color: oklch(61.8% 0.232 325.5);
Tailwind
colors: {
  custom: {
    50: '#dc80de',
    500: '#c740cf',
    950: '#000000',
  },
}
SCSS
$custom: #c740cf;
$custom-light: #dc80de;
$custom-dark: #000000;
JSON
{
  "hex": "#c740cf",
  "rgb": {
    "r": 199,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 296.643,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61818,
    "c": 0.23228,
    "h": 325.5
  },
  "luminance": 0.20314
}

Semantic roles & 50–950 ramp

primary
#C740CF
secondary
#9AD497
accent
#E3454E
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C740CF

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

Preview Lab → · Contrast checker → · Palette generator →

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