#C740CA#C740CA

#C740CA is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.5% C 0.228 H 327.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C740CA
RGBrgb(199, 64, 202)
HSLhsl(299, 57%, 52%)
HSVhsv(299, 68%, 79%)
CMYKcmyk(1.5%, 68.3%, 0%, 20.8%)
CIE-LABlab(51.92, 69.15, -44.87)
CIE-LCHlch(51.92, 82.43, 327.02°)
OKLaboklab(61.54% 0.1915 -0.1244)
OKLCHoklch(61.54% 0.228 327)
XYZxyz(36.0467, 20.0756, 57.8420)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C740CA #43CA40
analogous
#8240CA #C740CA #CA4088
triadic
#C740CA #CAC740 #40CAC7
tetradic
#C740CA #CA8240 #43CA40 #4088CA
square
#C740CA #CA8240 #43CA40 #4088CA
split-complementary
#C740CA #88CA40 #40CA82
monochromatic
#6F1F70 #9E2CA0 #C740CA #D570D7 #E3A0E5

Accessibility & contrast

On white

4.19
#C740CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#C740CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C740CA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C740CA#FFFFFF#000000##000000
##C740CA1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2771CE
Deuteranopia (green-blind)
#6182C6
Tritanopia (blue-blind)
#CD5580
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c740ca;
/* rgb */ color: rgb(199, 64, 202);
/* oklch */ color: oklch(61.5% 0.228 327.0);
Tailwind
colors: {
  custom: {
    50: '#dc80db',
    500: '#c740ca',
    950: '#000000',
  },
}
SCSS
$custom: #c740ca;
$custom-light: #dc80db;
$custom-dark: #000000;
JSON
{
  "hex": "#c740ca",
  "rgb": {
    "r": 199,
    "g": 64,
    "b": 202
  },
  "hsl": {
    "h": 298.696,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61536,
    "c": 0.22833,
    "h": 327
  },
  "luminance": 0.20073
}

Semantic roles & 50–950 ramp

primary
#C740CA
secondary
#96D195
accent
#E0484B
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C740CA

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

Preview Lab → · Contrast checker → · Palette generator →

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