#D340C3#D340C3

#D340C3 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.9% C 0.229 H 332.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#D340C3
RGBrgb(211, 64, 195)
HSLhsl(307, 63%, 54%)
HSVhsv(307, 70%, 83%)
CMYKcmyk(0%, 69.7%, 7.6%, 17.3%)
CIE-LABlab(53.45, 70.76, -38.31)
CIE-LCHlch(53.45, 80.46, 331.57°)
OKLaboklab(62.89% 0.2037 -0.1051)
OKLCHoklch(62.89% 0.229 332.7)
XYZxyz(38.5478, 21.4589, 53.7309)
Luminance0.2146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D340C3 #40D350
analogous
#9A40D3 #D340C3 #D3407A
triadic
#D340C3 #C3D340 #40C3D3
tetradic
#D340C3 #D39A40 #40D350 #407AD3
square
#D340C3 #D39A40 #40D350 #407AD3
split-complementary
#D340C3 #7AD340 #40D39A
monochromatic
#7C1D72 #AE289F #D340C3 #DE72D3 #EAA3E2

Accessibility & contrast

On white

3.97
#D340C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#D340C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D340C3
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D340C3#FFFFFF#000000##000000
##D340C31.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3972C7
Deuteranopia (green-blind)
#6F87BF
Tritanopia (blue-blind)
#DC4F7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d340c3;
/* rgb */ color: rgb(211, 64, 195);
/* oklch */ color: oklch(62.9% 0.229 332.7);
Tailwind
colors: {
  custom: {
    50: '#e481d5',
    500: '#d340c3',
    950: '#000000',
  },
}
SCSS
$custom: #d340c3;
$custom-light: #e481d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d340c3",
  "rgb": {
    "r": 211,
    "g": 64,
    "b": 195
  },
  "hsl": {
    "h": 306.531,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62885,
    "c": 0.2292,
    "h": 332.7
  },
  "luminance": 0.21456
}

Semantic roles & 50–950 ramp

primary
#D340C3
secondary
#98D79F
accent
#E65442
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D340C3

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

Preview Lab → · Contrast checker → · Palette generator →

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