#C740CE#C740CE

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

Color values

HEX#C740CE
RGBrgb(199, 64, 206)
HSLhsl(297, 59%, 53%)
HSVhsv(297, 69%, 81%)
CMYKcmyk(3.4%, 68.9%, 0%, 19.2%)
CIE-LABlab(52.14, 69.82, -46.82)
CIE-LCHlch(52.14, 84.07, 326.15°)
OKLaboklab(61.76% 0.1915 -0.13)
OKLCHoklch(61.76% 0.231 325.8)
XYZxyz(36.5264, 20.2675, 60.3687)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C740CE #47CE40
analogous
#8040CE #C740CE #CE408E
triadic
#C740CE #CEC740 #40CEC7
tetradic
#C740CE #CE8040 #47CE40 #408ECE
square
#C740CE #CE8040 #47CE40 #408ECE
split-complementary
#C740CE #8ECE40 #40CE80
monochromatic
#711E75 #A02BA6 #C740CE #D571DA #E4A1E7

Accessibility & contrast

On white

4.16
#C740CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#C740CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C740CE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C740CE#FFFFFF#000000##000000
##C740CE1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2072D2
Deuteranopia (green-blind)
#5F82CA
Tritanopia (blue-blind)
#CC5683
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c740ce;
/* rgb */ color: rgb(199, 64, 206);
/* oklch */ color: oklch(61.8% 0.231 325.8);
Tailwind
colors: {
  custom: {
    50: '#dc80dd',
    500: '#c740ce',
    950: '#000000',
  },
}
SCSS
$custom: #c740ce;
$custom-light: #dc80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c740ce",
  "rgb": {
    "r": 199,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 297.042,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61761,
    "c": 0.23149,
    "h": 325.8
  },
  "luminance": 0.20265
}

Semantic roles & 50–950 ramp

primary
#C740CE
secondary
#99D496
accent
#E2454D
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C740CE

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

Preview Lab → · Contrast checker → · Palette generator →

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