#D338C3#D338C3

#D338C3 is a light, highly saturated purple. Relative luminance 0.206; OKLCH L 62.2% C 0.238 H 332.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#D338C3
RGBrgb(211, 56, 195)
HSLhsl(306, 64%, 52%)
HSVhsv(306, 73%, 83%)
CMYKcmyk(0%, 73.5%, 7.6%, 17.3%)
CIE-LABlab(52.53, 73.36, -39.75)
CIE-LCHlch(52.53, 83.44, 331.55°)
OKLaboklab(62.22% 0.2113 -0.1092)
OKLCHoklch(62.22% 0.238 332.7)
XYZxyz(38.1286, 20.6206, 53.5912)
Luminance0.2062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D338C3 #38D348
analogous
#9638D3 #D338C3 #D33875
triadic
#D338C3 #C3D338 #38C3D3
tetradic
#D338C3 #D39638 #38D348 #3875D3
square
#D338C3 #D39638 #38D348 #3875D3
split-complementary
#D338C3 #75D338 #38D396
monochromatic
#761A6D #A9259B #D338C3 #DE6AD2 #E99CE1

Accessibility & contrast

On white

4.10
#D338C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#D338C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D338C3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D338C3#FFFFFF#000000##000000
##D338C31.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#306FC7
Deuteranopia (green-blind)
#6C85BF
Tritanopia (blue-blind)
#DC497A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d338c3;
/* rgb */ color: rgb(211, 56, 195);
/* oklch */ color: oklch(62.2% 0.238 332.7);
Tailwind
colors: {
  custom: {
    50: '#e57ed5',
    500: '#d338c3',
    950: '#000000',
  },
}
SCSS
$custom: #d338c3;
$custom-light: #e57ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#d338c3",
  "rgb": {
    "r": 211,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 306.194,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.62225,
    "c": 0.23783,
    "h": 332.7
  },
  "luminance": 0.20617
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D338C3

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

Preview Lab → · Contrast checker → · Palette generator →

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