#D742CA#D742CA

#D742CA is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 64.0% C 0.234 H 331.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#D742CA
RGBrgb(215, 66, 202)
HSLhsl(305, 65%, 55%)
HSVhsv(305, 69%, 84%)
CMYKcmyk(0%, 69.3%, 6%, 15.7%)
CIE-LABlab(54.67, 72.05, -40.37)
CIE-LCHlch(54.67, 82.59, 330.74°)
OKLaboklab(64% 0.2062 -0.111)
OKLCHoklch(64% 0.234 331.7)
XYZxyz(40.6332, 22.6110, 58.0899)
Luminance0.2261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D742CA #42D74F
analogous
#9A42D7 #D742CA #D7427F
triadic
#D742CA #CAD742 #42CAD7
tetradic
#D742CA #D79A42 #42D74F #427FD7
square
#D742CA #D79A42 #42D74F #427FD7
split-complementary
#D742CA #7FD742 #42D79A
monochromatic
#831C7A #B526A9 #D742CA #E275D8 #ECA7E6

Accessibility & contrast

On white

3.80
#D742CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#D742CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D742CA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D742CA#FFFFFF#000000##000000
##D742CA1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3875CE
Deuteranopia (green-blind)
#708AC6
Tritanopia (blue-blind)
#E05281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d742ca;
/* rgb */ color: rgb(215, 66, 202);
/* oklch */ color: oklch(64.0% 0.234 331.7);
Tailwind
colors: {
  custom: {
    50: '#e783da',
    500: '#d742ca',
    950: '#000000',
  },
}
SCSS
$custom: #d742ca;
$custom-light: #e783da;
$custom-dark: #000000;
JSON
{
  "hex": "#d742ca",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 305.235,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.64,
    "c": 0.23413,
    "h": 331.7
  },
  "luminance": 0.22608
}

Semantic roles & 50–950 ramp

primary
#D742CA
secondary
#9BDAA1
accent
#E84E40
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D742CA

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

Preview Lab → · Contrast checker → · Palette generator →

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