#D138C9#D138C9

#D138C9 is a light, highly saturated purple. Relative luminance 0.206; OKLCH L 62.2% C 0.241 H 330.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#D138C9
RGBrgb(209, 56, 201)
HSLhsl(303, 62%, 52%)
HSVhsv(303, 73%, 82%)
CMYKcmyk(0%, 73.2%, 3.8%, 18%)
CIE-LABlab(52.51, 73.84, -43.26)
CIE-LCHlch(52.51, 85.58, 329.63°)
OKLaboklab(62.25% 0.2095 -0.1194)
OKLCHoklch(62.25% 0.241 330.3)
XYZxyz(38.2511, 20.6037, 57.2093)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D138C9 #38D140
analogous
#8C38D1 #D138C9 #D1387D
triadic
#D138C9 #C9D138 #38C9D1
tetradic
#D138C9 #D18C38 #38D140 #387DD1
square
#D138C9 #D18C38 #38D140 #387DD1
split-complementary
#D138C9 #7DD138 #38D18C
monochromatic
#741B6F #A6269F #D138C9 #DC6AD6 #E89BE4

Accessibility & contrast

On white

4.10
#D138C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#D138C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D138C9
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D138C9#FFFFFF#000000##000000
##D138C91.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2670CD
Deuteranopia (green-blind)
#6785C5
Tritanopia (blue-blind)
#D94C7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d138c9;
/* rgb */ color: rgb(209, 56, 201);
/* oklch */ color: oklch(62.2% 0.241 330.3);
Tailwind
colors: {
  custom: {
    50: '#e37eda',
    500: '#d138c9',
    950: '#000000',
  },
}
SCSS
$custom: #d138c9;
$custom-light: #e37eda;
$custom-dark: #000000;
JSON
{
  "hex": "#d138c9",
  "rgb": {
    "r": 209,
    "g": 56,
    "b": 201
  },
  "hsl": {
    "h": 303.137,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.62249,
    "c": 0.24111,
    "h": 330.3
  },
  "luminance": 0.20601
}

Semantic roles & 50–950 ramp

primary
#D138C9
secondary
#91D494
accent
#E64B42
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D138C9

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

Preview Lab → · Contrast checker → · Palette generator →

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