#D738C2#D738C2

#D738C2 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.8% C 0.239 H 334.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#D738C2
RGBrgb(215, 56, 194)
HSLhsl(308, 67%, 53%)
HSVhsv(308, 74%, 84%)
CMYKcmyk(0%, 74%, 9.8%, 15.7%)
CIE-LABlab(53.14, 74.09, -38.17)
CIE-LCHlch(53.14, 83.35, 332.74°)
OKLaboklab(62.77% 0.2151 -0.1046)
OKLCHoklch(62.77% 0.239 334.1)
XYZxyz(39.1765, 21.1739, 53.0521)
Luminance0.2117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D738C2 #38D74D
analogous
#9D38D7 #D738C2 #D73872
triadic
#D738C2 #C2D738 #38C2D7
tetradic
#D738C2 #D79D38 #38D74D #3872D7
square
#D738C2 #D79D38 #38D74D #3872D7
split-complementary
#D738C2 #72D738 #38D79D
monochromatic
#7C196F #AF239C #D738C2 #E16BD2 #EB9EE1

Accessibility & contrast

On white

4.01
#D738C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#D738C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D738C2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D738C2#FFFFFF#000000##000000
##D738C21.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3470C6
Deuteranopia (green-blind)
#7087BE
Tritanopia (blue-blind)
#E1477A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d738c2;
/* rgb */ color: rgb(215, 56, 194);
/* oklch */ color: oklch(62.8% 0.239 334.1);
Tailwind
colors: {
  custom: {
    50: '#e77ed5',
    500: '#d738c2',
    950: '#000000',
  },
}
SCSS
$custom: #d738c2;
$custom-light: #e77ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#d738c2",
  "rgb": {
    "r": 215,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 307.925,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.62771,
    "c": 0.2392,
    "h": 334.1
  },
  "luminance": 0.2117
}

Semantic roles & 50–950 ramp

primary
#D738C2
secondary
#93D89C
accent
#E9553E
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#170B14
muted
#857C83

Preview Lab

Preview with #D738C2

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

Preview Lab → · Contrast checker → · Palette generator →

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