#D338BD#D338BD

#D338BD is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.9% C 0.234 H 334.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#D338BD
RGBrgb(211, 56, 189)
HSLhsl(309, 64%, 52%)
HSVhsv(309, 73%, 83%)
CMYKcmyk(0%, 73.5%, 10.4%, 17.3%)
CIE-LABlab(52.24, 72.48, -36.74)
CIE-LCHlch(52.24, 81.26, 333.12°)
OKLaboklab(61.92% 0.2109 -0.1005)
OKLCHoklch(61.92% 0.234 334.5)
XYZxyz(37.4638, 20.3546, 50.0900)
Luminance0.2035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D338BD #38D34E
analogous
#9B38D3 #D338BD #D33870
triadic
#D338BD #BDD338 #38BDD3
tetradic
#D338BD #D39B38 #38D34E #3870D3
square
#D338BD #D39B38 #38D34E #3870D3
split-complementary
#D338BD #70D338 #38D39B
monochromatic
#761A69 #A92596 #D338BD #DE6ACE #E99CDE

Accessibility & contrast

On white

4.14
#D338BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#D338BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D338BD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D338BD#FFFFFF#000000##000000
##D338BD1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#366EC1
Deuteranopia (green-blind)
#6E85B9
Tritanopia (blue-blind)
#DD4677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d338bd;
/* rgb */ color: rgb(211, 56, 189);
/* oklch */ color: oklch(61.9% 0.234 334.5);
Tailwind
colors: {
  custom: {
    50: '#e57ed1',
    500: '#d338bd',
    950: '#000000',
  },
}
SCSS
$custom: #d338bd;
$custom-light: #e57ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#d338bd",
  "rgb": {
    "r": 211,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 308.516,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61917,
    "c": 0.23367,
    "h": 334.5
  },
  "luminance": 0.20351
}

Semantic roles & 50–950 ramp

primary
#D338BD
secondary
#92D59B
accent
#E75941
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #D338BD

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

Preview Lab → · Contrast checker → · Palette generator →

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