#D138C8#D138C8

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

Color values

HEX#D138C8
RGBrgb(209, 56, 200)
HSLhsl(304, 62%, 52%)
HSVhsv(304, 73%, 82%)
CMYKcmyk(0%, 73.2%, 4.3%, 18%)
CIE-LABlab(52.46, 73.68, -42.77)
CIE-LCHlch(52.46, 85.20, 329.87°)
OKLaboklab(62.2% 0.2095 -0.118)
OKLCHoklch(62.2% 0.24 330.6)
XYZxyz(38.1339, 20.5568, 56.5918)
Luminance0.2055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D138C8 #38D141
analogous
#8D38D1 #D138C8 #D1387C
triadic
#D138C8 #C8D138 #38C8D1
tetradic
#D138C8 #D18D38 #38D141 #387CD1
square
#D138C8 #D18D38 #38D141 #387CD1
split-complementary
#D138C8 #7CD138 #38D18D
monochromatic
#741B6F #A6269E #D138C8 #DC6AD6 #E89BE3

Accessibility & contrast

On white

4.11
#D138C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#D138C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D138C8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D138C8#FFFFFF#000000##000000
##D138C81.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2770CC
Deuteranopia (green-blind)
#6784C4
Tritanopia (blue-blind)
#D94C7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d138c8;
/* rgb */ color: rgb(209, 56, 200);
/* oklch */ color: oklch(62.2% 0.240 330.6);
Tailwind
colors: {
  custom: {
    50: '#e37ed9',
    500: '#d138c8',
    950: '#000000',
  },
}
SCSS
$custom: #d138c8;
$custom-light: #e37ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#d138c8",
  "rgb": {
    "r": 209,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 303.529,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.62195,
    "c": 0.24039,
    "h": 330.6
  },
  "luminance": 0.20554
}

Semantic roles & 50–950 ramp

primary
#D138C8
secondary
#91D495
accent
#E64C42
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B15
muted
#847C83

Preview Lab

Preview with #D138C8

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

Preview Lab → · Contrast checker → · Palette generator →

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