#D242DA#D242DA

#D242DA is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.2% C 0.244 H 325.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#D242DA
RGBrgb(210, 66, 218)
HSLhsl(297, 67%, 56%)
HSVhsv(297, 70%, 85%)
CMYKcmyk(3.7%, 69.7%, 0%, 14.5%)
CIE-LABlab(54.72, 73.50, -49.45)
CIE-LCHlch(54.72, 88.59, 326.07°)
OKLaboklab(64.16% 0.2014 -0.1374)
OKLCHoklch(64.16% 0.244 325.7)
XYZxyz(41.1806, 22.6627, 68.5214)
Luminance0.2266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242DA #4ADA42
analogous
#8642DA #D242DA #DA4296
triadic
#D242DA #DAD242 #42DAD2
tetradic
#D242DA #DA8642 #4ADA42 #4296DA
square
#D242DA #DA8642 #4ADA42 #4296DA
split-complementary
#D242DA #96DA42 #42DA86
monochromatic
#811A87 #B224BA #D242DA #DE75E4 #EAA8EE

Accessibility & contrast

On white

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

On black

5.53
#D242DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D242DA
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D242DA#FFFFFF#000000##000000
##D242DA1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C78DE
Deuteranopia (green-blind)
#6389D6
Tritanopia (blue-blind)
#D75B8A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d242da;
/* rgb */ color: rgb(210, 66, 218);
/* oklch */ color: oklch(64.2% 0.244 325.7);
Tailwind
colors: {
  custom: {
    50: '#e483e6',
    500: '#d242da',
    950: '#000000',
  },
}
SCSS
$custom: #d242da;
$custom-light: #e483e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d242da",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 218
  },
  "hsl": {
    "h": 296.842,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.64156,
    "c": 0.24378,
    "h": 325.7
  },
  "luminance": 0.2266
}

Semantic roles & 50–950 ramp

primary
#D242DA
secondary
#A0DB9C
accent
#EA3E47
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D242DA

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

Preview Lab → · Contrast checker → · Palette generator →

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