#D338C0#D338C0

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

Color values

HEX#D338C0
RGBrgb(211, 56, 192)
HSLhsl(307, 64%, 52%)
HSVhsv(307, 73%, 83%)
CMYKcmyk(0%, 73.5%, 9%, 17.3%)
CIE-LABlab(52.38, 72.92, -38.25)
CIE-LCHlch(52.38, 82.34, 332.32°)
OKLaboklab(62.07% 0.2111 -0.1049)
OKLCHoklch(62.07% 0.236 333.6)
XYZxyz(37.7929, 20.4862, 51.8227)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D338C0 #38D34B
analogous
#9938D3 #D338C0 #D33872
triadic
#D338C0 #C0D338 #38C0D3
tetradic
#D338C0 #D39938 #38D34B #3872D3
square
#D338C0 #D39938 #38D34B #3872D3
split-complementary
#D338C0 #72D338 #38D399
monochromatic
#761A6B #A92598 #D338C0 #DE6AD0 #E99CE0

Accessibility & contrast

On white

4.12
#D338C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#D338C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D338C0
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D338C0#FFFFFF#000000##000000
##D338C01.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#336FC4
Deuteranopia (green-blind)
#6D85BC
Tritanopia (blue-blind)
#DD4779
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d338c0;
/* rgb */ color: rgb(211, 56, 192);
/* oklch */ color: oklch(62.1% 0.236 333.6);
Tailwind
colors: {
  custom: {
    50: '#e57ed3',
    500: '#d338c0',
    950: '#000000',
  },
}
SCSS
$custom: #d338c0;
$custom-light: #e57ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#d338c0",
  "rgb": {
    "r": 211,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 307.355,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.6207,
    "c": 0.23574,
    "h": 333.6
  },
  "luminance": 0.20483
}

Semantic roles & 50–950 ramp

primary
#D338C0
secondary
#92D59A
accent
#E75541
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D338C0

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

Preview Lab → · Contrast checker → · Palette generator →

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