#D242D9#D242D9

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

Color values

HEX#D242D9
RGBrgb(210, 66, 217)
HSLhsl(297, 67%, 55%)
HSVhsv(297, 70%, 85%)
CMYKcmyk(3.2%, 69.6%, 0%, 14.9%)
CIE-LABlab(54.67, 73.34, -48.97)
CIE-LCHlch(54.67, 88.19, 326.27°)
OKLaboklab(64.1% 0.2014 -0.136)
OKLCHoklch(64.1% 0.243 326)
XYZxyz(41.0501, 22.6105, 67.8343)
Luminance0.2261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242D9 #49D942
analogous
#8742D9 #D242D9 #D94294
triadic
#D242D9 #D9D242 #42D9D2
tetradic
#D242D9 #D98742 #49D942 #4294D9
square
#D242D9 #D98742 #49D942 #4294D9
split-complementary
#D242D9 #94D942 #42D987
monochromatic
#811B86 #B225B9 #D242D9 #DE75E3 #EAA8ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D242D9#FFFFFF#000000##000000
##D242D91.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)
#1E77DD
Deuteranopia (green-blind)
#6389D5
Tritanopia (blue-blind)
#D75A89
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d242d9;
/* rgb */ color: rgb(210, 66, 217);
/* oklch */ color: oklch(64.1% 0.243 326.0);
Tailwind
colors: {
  custom: {
    50: '#e483e5',
    500: '#d242d9',
    950: '#000000',
  },
}
SCSS
$custom: #d242d9;
$custom-light: #e483e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d242d9",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 297.219,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.64099,
    "c": 0.243,
    "h": 326
  },
  "luminance": 0.22608
}

Semantic roles & 50–950 ramp

primary
#D242D9
secondary
#9FDB9C
accent
#E93E46
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D242D9

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

Preview Lab → · Contrast checker → · Palette generator →

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