#D145D7#D145D7

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

Color values

HEX#D145D7
RGBrgb(209, 69, 215)
HSLhsl(298, 65%, 56%)
HSVhsv(298, 68%, 84%)
CMYKcmyk(2.8%, 67.9%, 0%, 15.7%)
CIE-LABlab(54.78, 71.73, -47.66)
CIE-LCHlch(54.78, 86.12, 326.40°)
OKLaboklab(64.12% 0.1973 -0.1323)
OKLCHoklch(64.12% 0.238 326.2)
XYZxyz(40.6876, 22.7205, 66.5192)
Luminance0.2272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D145D7 #4BD745
analogous
#8845D7 #D145D7 #D74594
triadic
#D145D7 #D7D145 #45D7D1
tetradic
#D145D7 #D78845 #4BD745 #4594D7
square
#D145D7 #D78845 #4BD745 #4594D7
split-complementary
#D145D7 #94D745 #45D788
monochromatic
#811D85 #B127B7 #D145D7 #DD77E2 #EAAAED

Accessibility & contrast

On white

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

On black

5.54
#D145D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D145D7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D145D7#FFFFFF#000000##000000
##D145D71.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2778DB
Deuteranopia (green-blind)
#6589D3
Tritanopia (blue-blind)
#D65B89
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d145d7;
/* rgb */ color: rgb(209, 69, 215);
/* oklch */ color: oklch(64.1% 0.238 326.2);
Tailwind
colors: {
  custom: {
    50: '#e384e4',
    500: '#d145d7',
    950: '#000000',
  },
}
SCSS
$custom: #d145d7;
$custom-light: #e384e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d145d7",
  "rgb": {
    "r": 209,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 297.534,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.64117,
    "c": 0.23756,
    "h": 326.2
  },
  "luminance": 0.22718
}

Semantic roles & 50–950 ramp

primary
#D145D7
secondary
#A0DA9E
accent
#E84047
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #D145D7

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

Preview Lab → · Contrast checker → · Palette generator →

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