#D138C5#D138C5

#D138C5 is a light, highly saturated purple. Relative luminance 0.204; OKLCH L 62.0% C 0.238 H 331.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#D138C5
RGBrgb(209, 56, 197)
HSLhsl(305, 62%, 52%)
HSVhsv(305, 73%, 82%)
CMYKcmyk(0%, 73.2%, 5.7%, 18%)
CIE-LABlab(52.31, 73.23, -41.28)
CIE-LCHlch(52.31, 84.06, 330.59°)
OKLaboklab(62.03% 0.2094 -0.1137)
OKLCHoklch(62.03% 0.238 331.5)
XYZxyz(37.7867, 20.4179, 54.7634)
Luminance0.2041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D138C5 #38D144
analogous
#9138D1 #D138C5 #D13879
triadic
#D138C5 #C5D138 #38C5D1
tetradic
#D138C5 #D19138 #38D144 #3879D1
square
#D138C5 #D19138 #38D144 #3879D1
split-complementary
#D138C5 #79D138 #38D191
monochromatic
#741B6D #A6269C #D138C5 #DC6AD3 #E89BE2

Accessibility & contrast

On white

4.13
#D138C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#D138C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D138C5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D138C5#FFFFFF#000000##000000
##D138C51.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B6FC9
Deuteranopia (green-blind)
#6984C1
Tritanopia (blue-blind)
#DA4A7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d138c5;
/* rgb */ color: rgb(209, 56, 197);
/* oklch */ color: oklch(62.0% 0.238 331.5);
Tailwind
colors: {
  custom: {
    50: '#e37ed7',
    500: '#d138c5',
    950: '#000000',
  },
}
SCSS
$custom: #d138c5;
$custom-light: #e37ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#d138c5",
  "rgb": {
    "r": 209,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 304.706,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.62034,
    "c": 0.23824,
    "h": 331.5
  },
  "luminance": 0.20415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D138C5

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

Preview Lab → · Contrast checker → · Palette generator →

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