#D138C3#D138C3

#D138C3 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.9% C 0.237 H 332.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#D138C3
RGBrgb(209, 56, 195)
HSLhsl(305, 62%, 52%)
HSVhsv(305, 73%, 82%)
CMYKcmyk(0%, 73.2%, 6.7%, 18%)
CIE-LABlab(52.20, 72.93, -40.29)
CIE-LCHlch(52.20, 83.31, 331.08°)
OKLaboklab(61.93% 0.2093 -0.1108)
OKLCHoklch(61.93% 0.237 332.1)
XYZxyz(37.5591, 20.3269, 53.5645)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D138C3 #38D146
analogous
#9238D1 #D138C3 #D13877
triadic
#D138C3 #C3D138 #38C3D1
tetradic
#D138C3 #D19238 #38D146 #3877D1
square
#D138C3 #D19238 #38D146 #3877D1
split-complementary
#D138C3 #77D138 #38D192
monochromatic
#741B6C #A6269A #D138C3 #DC6AD2 #E89BE1

Accessibility & contrast

On white

4.15
#D138C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#D138C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D138C3
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D138C3#FFFFFF#000000##000000
##D138C31.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E6FC7
Deuteranopia (green-blind)
#6A84BF
Tritanopia (blue-blind)
#DA497A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d138c3;
/* rgb */ color: rgb(209, 56, 195);
/* oklch */ color: oklch(61.9% 0.237 332.1);
Tailwind
colors: {
  custom: {
    50: '#e37ed5',
    500: '#d138c3',
    950: '#000000',
  },
}
SCSS
$custom: #d138c3;
$custom-light: #e37ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#d138c3",
  "rgb": {
    "r": 209,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 305.49,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61928,
    "c": 0.23681,
    "h": 332.1
  },
  "luminance": 0.20324
}

Semantic roles & 50–950 ramp

primary
#D138C3
secondary
#91D497
accent
#E65142
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D138C3

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

Preview Lab → · Contrast checker → · Palette generator →

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