#D138C6#D138C6

#D138C6 is a light, highly saturated purple. Relative luminance 0.205; OKLCH L 62.1% C 0.239 H 331.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#D138C6
RGBrgb(209, 56, 198)
HSLhsl(304, 62%, 52%)
HSVhsv(304, 73%, 82%)
CMYKcmyk(0%, 73.2%, 5.3%, 18%)
CIE-LABlab(52.36, 73.38, -41.78)
CIE-LCHlch(52.36, 84.44, 330.35°)
OKLaboklab(62.09% 0.2094 -0.1151)
OKLCHoklch(62.09% 0.239 331.2)
XYZxyz(37.9017, 20.4639, 55.3688)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D138C6 #38D143
analogous
#9038D1 #D138C6 #D13879
triadic
#D138C6 #C6D138 #38C6D1
tetradic
#D138C6 #D19038 #38D143 #3879D1
square
#D138C6 #D19038 #38D143 #3879D1
split-complementary
#D138C6 #79D138 #38D190
monochromatic
#741B6D #A6269C #D138C6 #DC6AD4 #E89BE2

Accessibility & contrast

On white

4.12
#D138C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#D138C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D138C6
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D138C6#FFFFFF#000000##000000
##D138C61.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A6FCA
Deuteranopia (green-blind)
#6884C2
Tritanopia (blue-blind)
#D94B7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d138c6;
/* rgb */ color: rgb(209, 56, 198);
/* oklch */ color: oklch(62.1% 0.239 331.2);
Tailwind
colors: {
  custom: {
    50: '#e37ed8',
    500: '#d138c6',
    950: '#000000',
  },
}
SCSS
$custom: #d138c6;
$custom-light: #e37ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#d138c6",
  "rgb": {
    "r": 209,
    "g": 56,
    "b": 198
  },
  "hsl": {
    "h": 304.314,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.62088,
    "c": 0.23896,
    "h": 331.2
  },
  "luminance": 0.20461
}

Semantic roles & 50–950 ramp

primary
#D138C6
secondary
#91D496
accent
#E64E42
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D138C6

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

Preview Lab → · Contrast checker → · Palette generator →

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