#D338C1#D338C1

#D338C1 is a light, highly saturated purple. Relative luminance 0.205; OKLCH L 62.1% C 0.236 H 333.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#D338C1
RGBrgb(211, 56, 193)
HSLhsl(307, 64%, 52%)
HSVhsv(307, 73%, 83%)
CMYKcmyk(0%, 73.5%, 8.5%, 17.3%)
CIE-LABlab(52.43, 73.07, -38.75)
CIE-LCHlch(52.43, 82.71, 332.06°)
OKLaboklab(62.12% 0.2112 -0.1063)
OKLCHoklch(62.12% 0.236 333.3)
XYZxyz(37.9040, 20.5307, 52.4083)
Luminance0.2053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D338C1 #38D34A
analogous
#9838D3 #D338C1 #D33873
triadic
#D338C1 #C1D338 #38C1D3
tetradic
#D338C1 #D39838 #38D34A #3873D3
square
#D338C1 #D39838 #38D34A #3873D3
split-complementary
#D338C1 #73D338 #38D398
monochromatic
#761A6C #A92599 #D338C1 #DE6AD1 #E99CE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D338C1#FFFFFF#000000##000000
##D338C11.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)
#326FC5
Deuteranopia (green-blind)
#6D85BD
Tritanopia (blue-blind)
#DD4879
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d338c1;
/* rgb */ color: rgb(211, 56, 193);
/* oklch */ color: oklch(62.1% 0.236 333.3);
Tailwind
colors: {
  custom: {
    50: '#e57ed4',
    500: '#d338c1',
    950: '#000000',
  },
}
SCSS
$custom: #d338c1;
$custom-light: #e57ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#d338c1",
  "rgb": {
    "r": 211,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 306.968,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.62121,
    "c": 0.23643,
    "h": 333.3
  },
  "luminance": 0.20527
}

Semantic roles & 50–950 ramp

primary
#D338C1
secondary
#92D599
accent
#E75441
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D338C1

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

Preview Lab → · Contrast checker → · Palette generator →

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