#C740CC#C740CC

#C740CC is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.6% C 0.230 H 326.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C740CC
RGBrgb(199, 64, 204)
HSLhsl(298, 58%, 53%)
HSVhsv(298, 69%, 80%)
CMYKcmyk(2.5%, 68.6%, 0%, 20%)
CIE-LABlab(52.03, 69.48, -45.85)
CIE-LCHlch(52.03, 83.25, 326.58°)
OKLaboklab(61.65% 0.1915 -0.1272)
OKLCHoklch(61.65% 0.23 326.4)
XYZxyz(36.2850, 20.1709, 59.0973)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C740CC #45CC40
analogous
#8140CC #C740CC #CC408B
triadic
#C740CC #CCC740 #40CCC7
tetradic
#C740CC #CC8140 #45CC40 #408BCC
square
#C740CC #CC8140 #45CC40 #408BCC
split-complementary
#C740CC #8BCC40 #40CC81
monochromatic
#701F73 #9F2CA3 #C740CC #D570D9 #E3A1E6

Accessibility & contrast

On white

4.17
#C740CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#C740CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C740CC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C740CC#FFFFFF#000000##000000
##C740CC1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2471D0
Deuteranopia (green-blind)
#6082C8
Tritanopia (blue-blind)
#CC5682
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c740cc;
/* rgb */ color: rgb(199, 64, 204);
/* oklch */ color: oklch(61.6% 0.230 326.4);
Tailwind
colors: {
  custom: {
    50: '#dc80dc',
    500: '#c740cc',
    950: '#000000',
  },
}
SCSS
$custom: #c740cc;
$custom-light: #dc80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c740cc",
  "rgb": {
    "r": 199,
    "g": 64,
    "b": 204
  },
  "hsl": {
    "h": 297.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61648,
    "c": 0.2299,
    "h": 326.4
  },
  "luminance": 0.20169
}

Semantic roles & 50–950 ramp

primary
#C740CC
secondary
#98D295
accent
#E1474C
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C740CC

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

Preview Lab → · Contrast checker → · Palette generator →

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