#D145C2#D145C2

#D145C2 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 63.0% C 0.221 H 332.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#D145C2
RGBrgb(209, 69, 194)
HSLhsl(306, 60%, 55%)
HSVhsv(306, 67%, 82%)
CMYKcmyk(0%, 67%, 7.2%, 18%)
CIE-LABlab(53.72, 68.35, -37.33)
CIE-LCHlch(53.72, 77.88, 331.36°)
OKLaboklab(63% 0.1964 -0.1024)
OKLCHoklch(63% 0.221 332.5)
XYZxyz(38.1603, 21.7096, 53.2090)
Luminance0.2171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D145C2 #45D154
analogous
#9A45D1 #D145C2 #D1457C
triadic
#D145C2 #C2D145 #45C2D1
tetradic
#D145C2 #D19A45 #45D154 #457CD1
square
#D145C2 #D19A45 #45D154 #457CD1
split-complementary
#D145C2 #7CD145 #45D19A
monochromatic
#7D1F73 #AE2BA0 #D145C2 #DD76D2 #E9A7E2

Accessibility & contrast

On white

3.93
#D145C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#D145C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D145C2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D145C2#FFFFFF#000000##000000
##D145C21.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F74C6
Deuteranopia (green-blind)
#7087BE
Tritanopia (blue-blind)
#DA527E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d145c2;
/* rgb */ color: rgb(209, 69, 194);
/* oklch */ color: oklch(63.0% 0.221 332.5);
Tailwind
colors: {
  custom: {
    50: '#e384d5',
    500: '#d145c2',
    950: '#000000',
  },
}
SCSS
$custom: #d145c2;
$custom-light: #e384d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d145c2",
  "rgb": {
    "r": 209,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 306.429,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.63003,
    "c": 0.22146,
    "h": 332.5
  },
  "luminance": 0.21707
}

Semantic roles & 50–950 ramp

primary
#D145C2
secondary
#9BD7A2
accent
#E35544
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D145C2

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

Preview Lab → · Contrast checker → · Palette generator →

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