#D240C9#D240C9

#D240C9 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 63.1% C 0.233 H 330.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#D240C9
RGBrgb(210, 64, 201)
HSLhsl(304, 62%, 54%)
HSVhsv(304, 70%, 82%)
CMYKcmyk(0%, 69.5%, 4.3%, 17.6%)
CIE-LABlab(53.59, 71.45, -41.55)
CIE-LCHlch(53.59, 82.66, 329.82°)
OKLaboklab(63.05% 0.203 -0.1145)
OKLCHoklch(63.05% 0.233 330.6)
XYZxyz(38.9542, 21.5885, 57.3623)
Luminance0.2158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D240C9 #40D249
analogous
#9240D2 #D240C9 #D24080
triadic
#D240C9 #C9D240 #40C9D2
tetradic
#D240C9 #D29240 #40D249 #4080D2
square
#D240C9 #D29240 #40D249 #4080D2
split-complementary
#D240C9 #80D240 #40D292
monochromatic
#7B1D75 #AC29A4 #D240C9 #DE72D7 #E9A3E5

Accessibility & contrast

On white

3.95
#D240C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#D240C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D240C9
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D240C9#FFFFFF#000000##000000
##D240C91.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3273CD
Deuteranopia (green-blind)
#6B87C5
Tritanopia (blue-blind)
#DA5280
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d240c9;
/* rgb */ color: rgb(210, 64, 201);
/* oklch */ color: oklch(63.1% 0.233 330.6);
Tailwind
colors: {
  custom: {
    50: '#e482da',
    500: '#d240c9',
    950: '#000000',
  },
}
SCSS
$custom: #d240c9;
$custom-light: #e482da;
$custom-dark: #000000;
JSON
{
  "hex": "#d240c9",
  "rgb": {
    "r": 210,
    "g": 64,
    "b": 201
  },
  "hsl": {
    "h": 303.699,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.63052,
    "c": 0.23306,
    "h": 330.6
  },
  "luminance": 0.21585
}

Semantic roles & 50–950 ramp

primary
#D240C9
secondary
#98D69C
accent
#E54D43
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D240C9

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

Preview Lab → · Contrast checker → · Palette generator →

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