#C740CD#C740CD

#C740CD is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.7% C 0.231 H 326.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C740CD
RGBrgb(199, 64, 205)
HSLhsl(297, 59%, 53%)
HSVhsv(297, 69%, 80%)
CMYKcmyk(2.9%, 68.8%, 0%, 19.6%)
CIE-LABlab(52.08, 69.65, -46.34)
CIE-LCHlch(52.08, 83.66, 326.37°)
OKLaboklab(61.7% 0.1915 -0.1286)
OKLCHoklch(61.7% 0.231 326.1)
XYZxyz(36.4053, 20.2191, 59.7309)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C740CD #46CD40
analogous
#8140CD #C740CD #CD408C
triadic
#C740CD #CDC740 #40CDC7
tetradic
#C740CD #CD8140 #46CD40 #408CCD
square
#C740CD #CD8140 #46CD40 #408CCD
split-complementary
#C740CD #8CCD40 #40CD81
monochromatic
#711E74 #A02BA5 #C740CD #D571DA #E3A1E6

Accessibility & contrast

On white

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

On black

5.04
#C740CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C740CD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C740CD#FFFFFF#000000##000000
##C740CD1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2271D1
Deuteranopia (green-blind)
#5F82C9
Tritanopia (blue-blind)
#CC5682
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c740cd;
/* rgb */ color: rgb(199, 64, 205);
/* oklch */ color: oklch(61.7% 0.231 326.1);
Tailwind
colors: {
  custom: {
    50: '#dc80dd',
    500: '#c740cd',
    950: '#000000',
  },
}
SCSS
$custom: #c740cd;
$custom-light: #dc80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c740cd",
  "rgb": {
    "r": 199,
    "g": 64,
    "b": 205
  },
  "hsl": {
    "h": 297.447,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61704,
    "c": 0.2307,
    "h": 326.1
  },
  "luminance": 0.20217
}

Semantic roles & 50–950 ramp

primary
#C740CD
secondary
#98D396
accent
#E2464D
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C740CD

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

Preview Lab → · Contrast checker → · Palette generator →

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