#D742C2#D742C2

#D742C2 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.6% C 0.228 H 334.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#D742C2
RGBrgb(215, 66, 194)
HSLhsl(308, 65%, 55%)
HSVhsv(308, 69%, 84%)
CMYKcmyk(0%, 69.3%, 9.8%, 15.7%)
CIE-LABlab(54.28, 70.85, -36.38)
CIE-LCHlch(54.28, 79.64, 332.82°)
OKLaboklab(63.6% 0.2056 -0.0995)
OKLCHoklch(63.6% 0.228 334.2)
XYZxyz(39.7105, 22.2419, 53.2301)
Luminance0.2224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D742C2 #42D757
analogous
#A142D7 #D742C2 #D74278
triadic
#D742C2 #C2D742 #42C2D7
tetradic
#D742C2 #D7A142 #42D757 #4278D7
square
#D742C2 #D7A142 #42D757 #4278D7
split-complementary
#D742C2 #78D742 #42D7A1
monochromatic
#831C74 #B526A1 #D742C2 #E275D2 #ECA7E3

Accessibility & contrast

On white

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

On black

5.45
#D742C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D742C2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D742C2#FFFFFF#000000##000000
##D742C21.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F74C6
Deuteranopia (green-blind)
#748ABE
Tritanopia (blue-blind)
#E14E7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d742c2;
/* rgb */ color: rgb(215, 66, 194);
/* oklch */ color: oklch(63.6% 0.228 334.2);
Tailwind
colors: {
  custom: {
    50: '#e783d5',
    500: '#d742c2',
    950: '#000000',
  },
}
SCSS
$custom: #d742c2;
$custom-light: #e783d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d742c2",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 194
  },
  "hsl": {
    "h": 308.456,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63595,
    "c": 0.22838,
    "h": 334.2
  },
  "luminance": 0.22239
}

Semantic roles & 50–950 ramp

primary
#D742C2
secondary
#9BDAA4
accent
#E85740
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D742C2

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

Preview Lab → · Contrast checker → · Palette generator →

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