#D240D0#D240D0

#D240D0 is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.4% C 0.238 H 328.5°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#D240D0
RGBrgb(210, 64, 208)
HSLhsl(301, 62%, 54%)
HSVhsv(301, 70%, 82%)
CMYKcmyk(0%, 69.5%, 1%, 17.6%)
CIE-LABlab(53.95, 72.56, -44.99)
CIE-LCHlch(53.95, 85.38, 328.20°)
OKLaboklab(63.43% 0.2032 -0.1244)
OKLCHoklch(63.43% 0.238 328.5)
XYZxyz(39.7965, 21.9254, 61.7982)
Luminance0.2192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D240D0 #40D242
analogous
#8B40D2 #D240D0 #D24087
triadic
#D240D0 #D0D240 #40D0D2
tetradic
#D240D0 #D28B40 #40D242 #4087D2
square
#D240D0 #D28B40 #40D242 #4087D2
split-complementary
#D240D0 #87D240 #40D28B
monochromatic
#7B1D79 #AC29AA #D240D0 #DE72DC #E9A3E8

Accessibility & contrast

On white

3.90
#D240D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#D240D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D240D0
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D240D0#FFFFFF#000000##000000
##D240D01.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A75D4
Deuteranopia (green-blind)
#6888CC
Tritanopia (blue-blind)
#D95584
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d240d0;
/* rgb */ color: rgb(210, 64, 208);
/* oklch */ color: oklch(63.4% 0.238 328.5);
Tailwind
colors: {
  custom: {
    50: '#e482df',
    500: '#d240d0',
    950: '#000000',
  },
}
SCSS
$custom: #d240d0;
$custom-light: #e482df;
$custom-dark: #000000;
JSON
{
  "hex": "#d240d0",
  "rgb": {
    "r": 210,
    "g": 64,
    "b": 208
  },
  "hsl": {
    "h": 300.822,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.63427,
    "c": 0.23831,
    "h": 328.5
  },
  "luminance": 0.21922
}

Semantic roles & 50–950 ramp

primary
#D240D0
secondary
#98D699
accent
#E54543
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D240D0

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

Preview Lab → · Contrast checker → · Palette generator →

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