#D242D2#D242D2

#D242D2 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.7% C 0.238 H 327.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#D242D2
RGBrgb(210, 66, 210)
HSLhsl(300, 62%, 54%)
HSVhsv(300, 69%, 82%)
CMYKcmyk(0%, 68.6%, 0%, 17.6%)
CIE-LABlab(54.30, 72.19, -45.58)
CIE-LCHlch(54.30, 85.38, 327.73°)
OKLaboklab(63.71% 0.2013 -0.1262)
OKLCHoklch(63.71% 0.238 327.9)
XYZxyz(40.1589, 22.2540, 63.1406)
Luminance0.2225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242D2 #42D242
analogous
#8A42D2 #D242D2 #D2428A
triadic
#D242D2 #D2D242 #42D2D2
tetradic
#D242D2 #D28A42 #42D242 #428AD2
square
#D242D2 #D28A42 #42D242 #428AD2
split-complementary
#D242D2 #8AD242 #42D28A
monochromatic
#7C1E7C #AD29AD #D242D2 #DE73DE #EAA5EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D242D2#FFFFFF#000000##000000
##D242D21.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)
#2A76D6
Deuteranopia (green-blind)
#6788CE
Tritanopia (blue-blind)
#D85786
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d242d2;
/* rgb */ color: rgb(210, 66, 210);
/* oklch */ color: oklch(63.7% 0.238 327.9);
Tailwind
colors: {
  custom: {
    50: '#e483e0',
    500: '#d242d2',
    950: '#000000',
  },
}
SCSS
$custom: #d242d2;
$custom-light: #e483e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d242d2",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 300,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.63711,
    "c": 0.23759,
    "h": 327.9
  },
  "luminance": 0.22251
}

Semantic roles & 50–950 ramp

primary
#D242D2
secondary
#99D799
accent
#E54343
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D242D2

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

Preview Lab → · Contrast checker → · Palette generator →

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