#D242CD#D242CD

#D242CD is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.4% C 0.234 H 329.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#D242CD
RGBrgb(210, 66, 205)
HSLhsl(302, 62%, 54%)
HSVhsv(302, 69%, 82%)
CMYKcmyk(0%, 68.6%, 2.4%, 17.6%)
CIE-LABlab(54.04, 71.39, -43.14)
CIE-LCHlch(54.04, 83.41, 328.86°)
OKLaboklab(63.44% 0.2012 -0.1191)
OKLCHoklch(63.44% 0.234 329.4)
XYZxyz(39.5457, 22.0088, 59.9110)
Luminance0.2201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242CD #42D247
analogous
#8F42D2 #D242CD #D24285
triadic
#D242CD #CDD242 #42CDD2
tetradic
#D242CD #D28F42 #42D247 #4285D2
square
#D242CD #D28F42 #42D247 #4285D2
split-complementary
#D242CD #85D242 #42D28F
monochromatic
#7C1E79 #AD29A9 #D242CD #DE73DA #EAA5E7

Accessibility & contrast

On white

3.89
#D242CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#D242CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D242CD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D242CD#FFFFFF#000000##000000
##D242CD1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3175D1
Deuteranopia (green-blind)
#6A88C9
Tritanopia (blue-blind)
#D95583
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d242cd;
/* rgb */ color: rgb(210, 66, 205);
/* oklch */ color: oklch(63.4% 0.234 329.4);
Tailwind
colors: {
  custom: {
    50: '#e483dd',
    500: '#d242cd',
    950: '#000000',
  },
}
SCSS
$custom: #d242cd;
$custom-light: #e483dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d242cd",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 302.083,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.6344,
    "c": 0.23378,
    "h": 329.4
  },
  "luminance": 0.22006
}

Semantic roles & 50–950 ramp

primary
#D242CD
secondary
#99D79B
accent
#E54943
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D242CD

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

Preview Lab → · Contrast checker → · Palette generator →

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