#D340C9#D340C9

#D340C9 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 63.2% C 0.234 H 330.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#D340C9
RGBrgb(211, 64, 201)
HSLhsl(304, 63%, 54%)
HSVhsv(304, 70%, 83%)
CMYKcmyk(0%, 69.7%, 4.7%, 17.3%)
CIE-LABlab(53.75, 71.68, -41.29)
CIE-LCHlch(53.75, 82.72, 330.06°)
OKLaboklab(63.2% 0.204 -0.1137)
OKLCHoklch(63.2% 0.234 330.9)
XYZxyz(39.2399, 21.7358, 57.3757)
Luminance0.2173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D340C9 #40D34A
analogous
#9440D3 #D340C9 #D34080
triadic
#D340C9 #C9D340 #40C9D3
tetradic
#D340C9 #D39440 #40D34A #4080D3
square
#D340C9 #D39440 #40D34A #4080D3
split-complementary
#D340C9 #80D340 #40D394
monochromatic
#7C1D76 #AE28A5 #D340C9 #DE72D7 #EAA3E5

Accessibility & contrast

On white

3.93
#D340C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#D340C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D340C9
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D340C9#FFFFFF#000000##000000
##D340C91.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3373CD
Deuteranopia (green-blind)
#6C88C5
Tritanopia (blue-blind)
#DB5180
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d340c9;
/* rgb */ color: rgb(211, 64, 201);
/* oklch */ color: oklch(63.2% 0.234 330.9);
Tailwind
colors: {
  custom: {
    50: '#e482da',
    500: '#d340c9',
    950: '#000000',
  },
}
SCSS
$custom: #d340c9;
$custom-light: #e482da;
$custom-dark: #000000;
JSON
{
  "hex": "#d340c9",
  "rgb": {
    "r": 211,
    "g": 64,
    "b": 201
  },
  "hsl": {
    "h": 304.082,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.63196,
    "c": 0.23358,
    "h": 330.9
  },
  "luminance": 0.21733
}

Semantic roles & 50–950 ramp

primary
#D340C9
secondary
#98D79C
accent
#E64D42
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D340C9

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

Preview Lab → · Contrast checker → · Palette generator →

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