#D145CB#D145CB

#D145CB is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.5% C 0.228 H 329.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#D145CB
RGBrgb(209, 69, 203)
HSLhsl(303, 60%, 55%)
HSVhsv(303, 67%, 82%)
CMYKcmyk(0%, 67%, 2.9%, 18%)
CIE-LABlab(54.16, 69.77, -41.80)
CIE-LCHlch(54.16, 81.33, 329.07°)
OKLaboklab(63.47% 0.197 -0.1153)
OKLCHoklch(63.47% 0.228 329.7)
XYZxyz(39.2018, 22.1262, 58.6944)
Luminance0.2212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D145CB #45D14B
analogous
#9145D1 #D145CB #D14585
triadic
#D145CB #CBD145 #45CBD1
tetradic
#D145CB #D19145 #45D14B #4585D1
square
#D145CB #D19145 #45D14B #4585D1
split-complementary
#D145CB #85D145 #45D191
monochromatic
#7D1F79 #AE2BA8 #D145CB #DD76D9 #E9A7E6

Accessibility & contrast

On white

3.87
#D145CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#D145CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D145CB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D145CB#FFFFFF#000000##000000
##D145CB1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3675CF
Deuteranopia (green-blind)
#6C88C7
Tritanopia (blue-blind)
#D85683
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d145cb;
/* rgb */ color: rgb(209, 69, 203);
/* oklch */ color: oklch(63.5% 0.228 329.7);
Tailwind
colors: {
  custom: {
    50: '#e384db',
    500: '#d145cb',
    950: '#000000',
  },
}
SCSS
$custom: #d145cb;
$custom-light: #e384db;
$custom-dark: #000000;
JSON
{
  "hex": "#d145cb",
  "rgb": {
    "r": 209,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 302.571,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.63467,
    "c": 0.22824,
    "h": 329.7
  },
  "luminance": 0.22123
}

Semantic roles & 50–950 ramp

primary
#D145CB
secondary
#9BD79E
accent
#E34B44
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D145CB

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

Preview Lab → · Contrast checker → · Palette generator →

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