#D139C2#D139C2

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

Color values

HEX#D139C2
RGBrgb(209, 57, 194)
HSLhsl(306, 62%, 52%)
HSVhsv(306, 73%, 82%)
CMYKcmyk(0%, 72.7%, 7.2%, 18%)
CIE-LABlab(52.26, 72.46, -39.62)
CIE-LCHlch(52.26, 82.59, 331.33°)
OKLaboklab(61.95% 0.2084 -0.1089)
OKLCHoklch(61.95% 0.235 332.4)
XYZxyz(37.4954, 20.3797, 52.9874)
Luminance0.2038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D139C2 #39D148
analogous
#9439D1 #D139C2 #D13976
triadic
#D139C2 #C2D139 #39C2D1
tetradic
#D139C2 #D19439 #39D148 #3976D1
square
#D139C2 #D19439 #39D148 #3976D1
split-complementary
#D139C2 #76D139 #39D194
monochromatic
#751B6C #A6279A #D139C2 #DD6BD1 #E89CE1

Accessibility & contrast

On white

4.14
#D139C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D139C2#FFFFFF#000000##000000
##D139C21.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#306FC6
Deuteranopia (green-blind)
#6B84BE
Tritanopia (blue-blind)
#DA4A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d139c2;
/* rgb */ color: rgb(209, 57, 194);
/* oklch */ color: oklch(62.0% 0.235 332.4);
Tailwind
colors: {
  custom: {
    50: '#e37ed5',
    500: '#d139c2',
    950: '#000000',
  },
}
SCSS
$custom: #d139c2;
$custom-light: #e37ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#d139c2",
  "rgb": {
    "r": 209,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 305.921,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61954,
    "c": 0.23507,
    "h": 332.4
  },
  "luminance": 0.20377
}

Semantic roles & 50–950 ramp

primary
#D139C2
secondary
#92D498
accent
#E55342
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D139C2

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

Preview Lab → · Contrast checker → · Palette generator →

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