#D338CA#D338CA

#D338CA is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 62.6% C 0.243 H 330.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#D338CA
RGBrgb(211, 56, 202)
HSLhsl(303, 64%, 52%)
HSVhsv(303, 73%, 83%)
CMYKcmyk(0%, 73.5%, 4.3%, 17.3%)
CIE-LABlab(52.89, 74.42, -43.22)
CIE-LCHlch(52.89, 86.06, 329.85°)
OKLaboklab(62.6% 0.2115 -0.1192)
OKLCHoklch(62.6% 0.243 330.6)
XYZxyz(38.9387, 20.9446, 57.8575)
Luminance0.2094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D338CA #38D341
analogous
#8F38D3 #D338CA #D3387C
triadic
#D338CA #CAD338 #38CAD3
tetradic
#D338CA #D38F38 #38D341 #387CD3
square
#D338CA #D38F38 #38D341 #387CD3
split-complementary
#D338CA #7CD338 #38D38F
monochromatic
#761A71 #A925A1 #D338CA #DE6AD7 #E99CE5

Accessibility & contrast

On white

4.05
#D338CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#D338CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D338CA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D338CA#FFFFFF#000000##000000
##D338CA1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2671CE
Deuteranopia (green-blind)
#6886C6
Tritanopia (blue-blind)
#DB4C7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d338ca;
/* rgb */ color: rgb(211, 56, 202);
/* oklch */ color: oklch(62.6% 0.243 330.6);
Tailwind
colors: {
  custom: {
    50: '#e57eda',
    500: '#d338ca',
    950: '#000000',
  },
}
SCSS
$custom: #d338ca;
$custom-light: #e57eda;
$custom-dark: #000000;
JSON
{
  "hex": "#d338ca",
  "rgb": {
    "r": 211,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 303.484,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.62597,
    "c": 0.2428,
    "h": 330.6
  },
  "luminance": 0.20941
}

Semantic roles & 50–950 ramp

primary
#D338CA
secondary
#92D596
accent
#E74B41
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D338CA

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

Preview Lab → · Contrast checker → · Palette generator →

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