#C740D3#C740D3

#C740D3 is a light, highly saturated purple. Relative luminance 0.205; OKLCH L 62.0% C 0.235 H 324.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#C740D3
RGBrgb(199, 64, 211)
HSLhsl(295, 63%, 54%)
HSVhsv(295, 70%, 83%)
CMYKcmyk(5.7%, 69.7%, 0%, 17.3%)
CIE-LABlab(52.41, 70.67, -49.25)
CIE-LCHlch(52.41, 86.13, 325.13°)
OKLaboklab(62.05% 0.1915 -0.1371)
OKLCHoklch(62.05% 0.235 324.4)
XYZxyz(37.1435, 20.5143, 63.6186)
Luminance0.2051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C740D3 #4CD340
analogous
#7E40D3 #C740D3 #D34096
triadic
#C740D3 #D3C740 #40D3C7
tetradic
#C740D3 #D37E40 #4CD340 #4096D3
square
#C740D3 #D37E40 #4CD340 #4096D3
split-complementary
#C740D3 #96D340 #40D37E
monochromatic
#741D7C #A328AE #C740D3 #D672DE #E4A3EA

Accessibility & contrast

On white

4.12
#C740D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#C740D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C740D3
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C740D3#FFFFFF#000000##000000
##C740D31.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1573D7
Deuteranopia (green-blind)
#5B83CF
Tritanopia (blue-blind)
#CB5985
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c740d3;
/* rgb */ color: rgb(199, 64, 211);
/* oklch */ color: oklch(62.0% 0.235 324.4);
Tailwind
colors: {
  custom: {
    50: '#dc81e1',
    500: '#c740d3',
    950: '#000000',
  },
}
SCSS
$custom: #c740d3;
$custom-light: #dc81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#c740d3",
  "rgb": {
    "r": 199,
    "g": 64,
    "b": 211
  },
  "hsl": {
    "h": 295.102,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62047,
    "c": 0.23548,
    "h": 324.4
  },
  "luminance": 0.20512
}

Semantic roles & 50–950 ramp

primary
#C740D3
secondary
#9DD798
accent
#E64250
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#150B15
muted
#847C83

Preview Lab

Preview with #C740D3

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

Preview Lab → · Contrast checker → · Palette generator →

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