#D145E2#D145E2

#D145E2 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.7% C 0.246 H 323.2°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#D145E2
RGBrgb(209, 69, 226)
HSLhsl(294, 73%, 58%)
HSVhsv(294, 69%, 89%)
CMYKcmyk(7.5%, 69.5%, 0%, 11.4%)
CIE-LABlab(55.39, 73.59, -52.93)
CIE-LCHlch(55.39, 90.65, 324.27°)
OKLaboklab(64.74% 0.1972 -0.1476)
OKLCHoklch(64.74% 0.246 323.2)
XYZxyz(42.1488, 23.3050, 74.2150)
Luminance0.2330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D145E2 #56E245
analogous
#8245E2 #D145E2 #E245A5
triadic
#D145E2 #E2D145 #45E2D1
tetradic
#D145E2 #E28245 #56E245 #45A5E2
square
#D145E2 #E28245 #56E245 #45A5E2
split-complementary
#D145E2 #A5E245 #45E282
monochromatic
#881795 #B820CA #D145E2 #DE7AEA #EBAFF3

Accessibility & contrast

On white

3.71
#D145E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#D145E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D145E2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D145E2#FFFFFF#000000##000000
##D145E21.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7AE6
Deuteranopia (green-blind)
#5E8ADE
Tritanopia (blue-blind)
#D4608F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d145e2;
/* rgb */ color: rgb(209, 69, 226);
/* oklch */ color: oklch(64.7% 0.246 323.2);
Tailwind
colors: {
  custom: {
    50: '#e385ec',
    500: '#d145e2',
    950: '#000000',
  },
}
SCSS
$custom: #d145e2;
$custom-light: #e385ec;
$custom-dark: #000000;
JSON
{
  "hex": "#d145e2",
  "rgb": {
    "r": 209,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 293.503,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64742,
    "c": 0.24634,
    "h": 323.2
  },
  "luminance": 0.23303
}

Semantic roles & 50–950 ramp

primary
#D145E2
secondary
#A9E1A2
accent
#F0384C
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D145E2

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

Preview Lab → · Contrast checker → · Palette generator →

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