#D242D5#D242D5

#D242D5 is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.9% C 0.240 H 327.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#D242D5
RGBrgb(210, 66, 213)
HSLhsl(299, 64%, 55%)
HSVhsv(299, 69%, 84%)
CMYKcmyk(1.4%, 69%, 0%, 16.5%)
CIE-LABlab(54.45, 72.68, -47.04)
CIE-LCHlch(54.45, 86.57, 327.09°)
OKLaboklab(63.88% 0.2014 -0.1304)
OKLCHoklch(63.88% 0.24 327.1)
XYZxyz(40.5361, 22.4049, 65.1274)
Luminance0.2240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242D5 #45D542
analogous
#8942D5 #D242D5 #D5428E
triadic
#D242D5 #D5D242 #42D5D2
tetradic
#D242D5 #D58942 #45D542 #428ED5
square
#D242D5 #D58942 #45D542 #428ED5
split-complementary
#D242D5 #8ED542 #42D589
monochromatic
#7E1C80 #AF28B2 #D242D5 #DE74E0 #EAA6EB

Accessibility & contrast

On white

3.83
#D242D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#D242D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D242D5
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D242D5#FFFFFF#000000##000000
##D242D51.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2676D9
Deuteranopia (green-blind)
#6689D1
Tritanopia (blue-blind)
#D85887
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d242d5;
/* rgb */ color: rgb(210, 66, 213);
/* oklch */ color: oklch(63.9% 0.240 327.1);
Tailwind
colors: {
  custom: {
    50: '#e483e2',
    500: '#d242d5',
    950: '#000000',
  },
}
SCSS
$custom: #d242d5;
$custom-light: #e483e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d242d5",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 213
  },
  "hsl": {
    "h": 298.776,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.63876,
    "c": 0.2399,
    "h": 327.1
  },
  "luminance": 0.22402
}

Semantic roles & 50–950 ramp

primary
#D242D5
secondary
#9CD89A
accent
#E74145
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D242D5

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

Preview Lab → · Contrast checker → · Palette generator →

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