#D740C3#D740C3

#D740C3 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.5% C 0.231 H 333.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#D740C3
RGBrgb(215, 64, 195)
HSLhsl(308, 65%, 55%)
HSVhsv(308, 70%, 84%)
CMYKcmyk(0%, 70.2%, 9.3%, 15.7%)
CIE-LABlab(54.09, 71.68, -37.26)
CIE-LCHlch(54.09, 80.78, 332.53°)
OKLaboklab(63.47% 0.2077 -0.102)
OKLCHoklch(63.47% 0.231 333.8)
XYZxyz(39.7084, 22.0573, 53.7853)
Luminance0.2205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D740C3 #40D754
analogous
#A040D7 #D740C3 #D74078
triadic
#D740C3 #C3D740 #40C3D7
tetradic
#D740C3 #D7A040 #40D754 #4078D7
square
#D740C3 #D7A040 #40D754 #4078D7
split-complementary
#D740C3 #78D740 #40D7A0
monochromatic
#811B74 #B426A1 #D740C3 #E273D3 #ECA5E3

Accessibility & contrast

On white

3.88
#D740C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#D740C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D740C3
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D740C3#FFFFFF#000000##000000
##D740C31.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C73C7
Deuteranopia (green-blind)
#7289BF
Tritanopia (blue-blind)
#E14D7D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d740c3;
/* rgb */ color: rgb(215, 64, 195);
/* oklch */ color: oklch(63.5% 0.231 333.8);
Tailwind
colors: {
  custom: {
    50: '#e782d5',
    500: '#d740c3',
    950: '#000000',
  },
}
SCSS
$custom: #d740c3;
$custom-light: #e782d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d740c3",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 195
  },
  "hsl": {
    "h": 307.947,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.6347,
    "c": 0.23138,
    "h": 333.8
  },
  "luminance": 0.22054
}

Semantic roles & 50–950 ramp

primary
#D740C3
secondary
#9AD9A2
accent
#E8563F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D740C3

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

Preview Lab → · Contrast checker → · Palette generator →

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