#D843C2#D843C2

#D843C2 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.8% C 0.228 H 334.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#D843C2
RGBrgb(216, 67, 194)
HSLhsl(309, 66%, 55%)
HSVhsv(309, 69%, 85%)
CMYKcmyk(0%, 69%, 10.2%, 15.3%)
CIE-LABlab(54.57, 70.73, -35.92)
CIE-LCHlch(54.57, 79.33, 333.08°)
OKLaboklab(63.83% 0.2056 -0.0982)
OKLCHoklch(63.83% 0.228 334.5)
XYZxyz(40.0640, 22.5117, 53.2636)
Luminance0.2251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D843C2 #43D859
analogous
#A343D8 #D843C2 #D84377
triadic
#D843C2 #C2D843 #43C2D8
tetradic
#D843C2 #D8A343 #43D859 #4377D8
square
#D843C2 #D8A343 #43D859 #4377D8
split-complementary
#D843C2 #77D843 #43D8A3
monochromatic
#851C75 #B826A2 #D843C2 #E376D2 #EDA8E3

Accessibility & contrast

On white

3.82
#D843C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#D843C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D843C2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D843C2#FFFFFF#000000##000000
##D843C21.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4175C6
Deuteranopia (green-blind)
#758ABE
Tritanopia (blue-blind)
#E24F7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d843c2;
/* rgb */ color: rgb(216, 67, 194);
/* oklch */ color: oklch(63.8% 0.228 334.5);
Tailwind
colors: {
  custom: {
    50: '#e883d5',
    500: '#d843c2',
    950: '#000000',
  },
}
SCSS
$custom: #d843c2;
$custom-light: #e883d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d843c2",
  "rgb": {
    "r": 216,
    "g": 67,
    "b": 194
  },
  "hsl": {
    "h": 308.859,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6383,
    "c": 0.22779,
    "h": 334.5
  },
  "luminance": 0.22508
}

Semantic roles & 50–950 ramp

primary
#D843C2
secondary
#9CDAA6
accent
#E9583F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #D843C2

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

Preview Lab → · Contrast checker → · Palette generator →

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