#D242D7#D242D7

#D242D7 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 64.0% C 0.241 H 326.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#D242D7
RGBrgb(210, 66, 215)
HSLhsl(298, 65%, 55%)
HSVhsv(298, 69%, 84%)
CMYKcmyk(2.3%, 69.3%, 0%, 15.7%)
CIE-LABlab(54.56, 73.01, -48.01)
CIE-LCHlch(54.56, 87.38, 326.67°)
OKLaboklab(63.99% 0.2014 -0.1332)
OKLCHoklch(63.99% 0.241 326.5)
XYZxyz(40.7916, 22.5071, 66.4726)
Luminance0.2250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242D7 #47D742
analogous
#8842D7 #D242D7 #D74291
triadic
#D242D7 #D7D242 #42D7D2
tetradic
#D242D7 #D78842 #47D742 #4291D7
square
#D242D7 #D78842 #47D742 #4291D7
split-complementary
#D242D7 #91D742 #42D788
monochromatic
#7F1C83 #B126B5 #D242D7 #DE75E2 #EAA7EC

Accessibility & contrast

On white

3.82
#D242D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#D242D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D242D7
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D242D7#FFFFFF#000000##000000
##D242D71.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2277DB
Deuteranopia (green-blind)
#6489D3
Tritanopia (blue-blind)
#D85988
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d242d7;
/* rgb */ color: rgb(210, 66, 215);
/* oklch */ color: oklch(64.0% 0.241 326.5);
Tailwind
colors: {
  custom: {
    50: '#e483e4',
    500: '#d242d7',
    950: '#000000',
  },
}
SCSS
$custom: #d242d7;
$custom-light: #e483e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d242d7",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 215
  },
  "hsl": {
    "h": 297.987,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63987,
    "c": 0.24144,
    "h": 326.5
  },
  "luminance": 0.22504
}

Semantic roles & 50–950 ramp

primary
#D242D7
secondary
#9DDA9B
accent
#E84045
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #D242D7

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

Preview Lab → · Contrast checker → · Palette generator →

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