#D740C8#D740C8

#D740C8 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.7% C 0.235 H 332.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#D740C8
RGBrgb(215, 64, 200)
HSLhsl(306, 65%, 55%)
HSVhsv(306, 70%, 84%)
CMYKcmyk(0%, 70.2%, 7%, 15.7%)
CIE-LABlab(54.33, 72.43, -39.75)
CIE-LCHlch(54.33, 82.62, 331.24°)
OKLaboklab(63.72% 0.208 -0.1092)
OKLCHoklch(63.72% 0.235 332.3)
XYZxyz(40.2832, 22.2873, 56.8126)
Luminance0.2228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D740C8 #40D74F
analogous
#9A40D7 #D740C8 #D7407D
triadic
#D740C8 #C8D740 #40C8D7
tetradic
#D740C8 #D79A40 #40D74F #407DD7
square
#D740C8 #D79A40 #40D74F #407DD7
split-complementary
#D740C8 #7DD740 #40D79A
monochromatic
#811B77 #B426A6 #D740C8 #E273D7 #ECA5E5

Accessibility & contrast

On white

3.85
#D740C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#D740C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D740C8
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D740C8#FFFFFF#000000##000000
##D740C81.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3874CC
Deuteranopia (green-blind)
#708AC4
Tritanopia (blue-blind)
#E05080
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d740c8;
/* rgb */ color: rgb(215, 64, 200);
/* oklch */ color: oklch(63.7% 0.235 332.3);
Tailwind
colors: {
  custom: {
    50: '#e782d9',
    500: '#d740c8',
    950: '#000000',
  },
}
SCSS
$custom: #d740c8;
$custom-light: #e782d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d740c8",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 200
  },
  "hsl": {
    "h": 305.96,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.63723,
    "c": 0.23494,
    "h": 332.3
  },
  "luminance": 0.22284
}

Semantic roles & 50–950 ramp

primary
#D740C8
secondary
#9AD9A0
accent
#E8503F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D740C8

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

Preview Lab → · Contrast checker → · Palette generator →

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