#D943CB#D943CB

#D943CB is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.4% C 0.235 H 332.0°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#D943CB
RGBrgb(217, 67, 203)
HSLhsl(306, 66%, 56%)
HSVhsv(306, 69%, 85%)
CMYKcmyk(0%, 69.1%, 6.5%, 14.9%)
CIE-LABlab(55.16, 72.32, -40.15)
CIE-LCHlch(55.16, 82.71, 330.96°)
OKLaboklab(64.43% 0.2073 -0.1103)
OKLCHoklch(64.43% 0.235 332)
XYZxyz(41.4020, 23.0811, 58.7629)
Luminance0.2308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D943CB #43D951
analogous
#9C43D9 #D943CB #D94380
triadic
#D943CB #CBD943 #43CBD9
tetradic
#D943CB #D99C43 #43D951 #4380D9
square
#D943CB #D99C43 #43D951 #4380D9
split-complementary
#D943CB #80D943 #43D99C
monochromatic
#861B7C #B925AC #D943CB #E376D9 #EEA9E7

Accessibility & contrast

On white

3.74
#D943CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#D943CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D943CB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D943CB#FFFFFF#000000##000000
##D943CB1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A77CF
Deuteranopia (green-blind)
#728CC7
Tritanopia (blue-blind)
#E25382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d943cb;
/* rgb */ color: rgb(217, 67, 203);
/* oklch */ color: oklch(64.4% 0.235 332.0);
Tailwind
colors: {
  custom: {
    50: '#e984db',
    500: '#d943cb',
    950: '#000000',
  },
}
SCSS
$custom: #d943cb;
$custom-light: #e984db;
$custom-dark: #000000;
JSON
{
  "hex": "#d943cb",
  "rgb": {
    "r": 217,
    "g": 67,
    "b": 203
  },
  "hsl": {
    "h": 305.6,
    "s": 66.372,
    "l": 55.686
  },
  "oklch": {
    "l": 0.64427,
    "c": 0.23478,
    "h": 332
  },
  "luminance": 0.23078
}

Semantic roles & 50–950 ramp

primary
#D943CB
secondary
#9DDBA3
accent
#E94E3F
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #D943CB

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

Preview Lab → · Contrast checker → · Palette generator →

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