#D742D9#D742D9

#D742D9 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.8% C 0.245 H 327.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#D742D9
RGBrgb(215, 66, 217)
HSLhsl(299, 67%, 55%)
HSVhsv(299, 70%, 85%)
CMYKcmyk(0.9%, 69.6%, 0%, 14.9%)
CIE-LABlab(55.44, 74.41, -47.70)
CIE-LCHlch(55.44, 88.39, 327.34°)
OKLaboklab(64.8% 0.2067 -0.1322)
OKLCHoklch(64.8% 0.245 327.4)
XYZxyz(42.4963, 23.3562, 67.9021)
Luminance0.2335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D742D9 #44D942
analogous
#8B42D9 #D742D9 #D94290
triadic
#D742D9 #D9D742 #42D9D7
tetradic
#D742D9 #D98B42 #44D942 #4290D9
square
#D742D9 #D98B42 #44D942 #4290D9
split-complementary
#D742D9 #90D942 #42D98B
monochromatic
#841B86 #B725B9 #D742D9 #E275E3 #EDA8ED

Accessibility & contrast

On white

3.70
#D742D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#D742D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D742D9
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D742D9#FFFFFF#000000##000000
##D742D91.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2578DD
Deuteranopia (green-blind)
#688BD5
Tritanopia (blue-blind)
#DD5989
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d742d9;
/* rgb */ color: rgb(215, 66, 217);
/* oklch */ color: oklch(64.8% 0.245 327.4);
Tailwind
colors: {
  custom: {
    50: '#e784e5',
    500: '#d742d9',
    950: '#000000',
  },
}
SCSS
$custom: #d742d9;
$custom-light: #e784e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d742d9",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 299.205,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.64801,
    "c": 0.24533,
    "h": 327.4
  },
  "luminance": 0.23353
}

Semantic roles & 50–950 ramp

primary
#D742D9
secondary
#9DDB9C
accent
#E93E41
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D742D9

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

Preview Lab → · Contrast checker → · Palette generator →

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