#D843C7#D843C7

#D843C7 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.1% C 0.231 H 332.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#D843C7
RGBrgb(216, 67, 199)
HSLhsl(307, 66%, 55%)
HSVhsv(307, 69%, 85%)
CMYKcmyk(0%, 69%, 7.9%, 15.3%)
CIE-LABlab(54.80, 71.48, -38.42)
CIE-LCHlch(54.80, 81.15, 331.74°)
OKLaboklab(64.08% 0.206 -0.1053)
OKLCHoklch(64.08% 0.231 332.9)
XYZxyz(40.6350, 22.7401, 56.2709)
Luminance0.2274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D843C7 #43D854
analogous
#9F43D8 #D843C7 #D8437C
triadic
#D843C7 #C7D843 #43C7D8
tetradic
#D843C7 #D89F43 #43D854 #437CD8
square
#D843C7 #D89F43 #43D854 #437CD8
split-complementary
#D843C7 #7CD843 #43D89F
monochromatic
#851C79 #B826A7 #D843C7 #E376D6 #EDA8E5

Accessibility & contrast

On white

3.79
#D843C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#D843C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D843C7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D843C7#FFFFFF#000000##000000
##D843C71.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D75CB
Deuteranopia (green-blind)
#738BC3
Tritanopia (blue-blind)
#E15180
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d843c7;
/* rgb */ color: rgb(216, 67, 199);
/* oklch */ color: oklch(64.1% 0.231 332.9);
Tailwind
colors: {
  custom: {
    50: '#e884d8',
    500: '#d843c7',
    950: '#000000',
  },
}
SCSS
$custom: #d843c7;
$custom-light: #e884d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d843c7",
  "rgb": {
    "r": 216,
    "g": 67,
    "b": 199
  },
  "hsl": {
    "h": 306.846,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.64079,
    "c": 0.23135,
    "h": 332.9
  },
  "luminance": 0.22737
}

Semantic roles & 50–950 ramp

primary
#D843C7
secondary
#9CDAA3
accent
#E9533F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #D843C7

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

Preview Lab → · Contrast checker → · Palette generator →

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