#D338BF#D338BF

#D338BF is a light, highly saturated purple. Relative luminance 0.204; OKLCH L 62.0% C 0.235 H 333.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#D338BF
RGBrgb(211, 56, 191)
HSLhsl(308, 64%, 52%)
HSVhsv(308, 73%, 83%)
CMYKcmyk(0%, 73.5%, 9.5%, 17.3%)
CIE-LABlab(52.33, 72.77, -37.75)
CIE-LCHlch(52.33, 81.98, 332.58°)
OKLaboklab(62.02% 0.2111 -0.1034)
OKLCHoklch(62.02% 0.235 333.9)
XYZxyz(37.6824, 20.4421, 51.2412)
Luminance0.2044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D338BF #38D34C
analogous
#9A38D3 #D338BF #D33872
triadic
#D338BF #BFD338 #38BFD3
tetradic
#D338BF #D39A38 #38D34C #3872D3
square
#D338BF #D39A38 #38D34C #3872D3
split-complementary
#D338BF #72D338 #38D39A
monochromatic
#761A6B #A92598 #D338BF #DE6ACF #E99CDF

Accessibility & contrast

On white

4.13
#D338BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#D338BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D338BF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D338BF#FFFFFF#000000##000000
##D338BF1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#346EC3
Deuteranopia (green-blind)
#6E85BB
Tritanopia (blue-blind)
#DD4778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d338bf;
/* rgb */ color: rgb(211, 56, 191);
/* oklch */ color: oklch(62.0% 0.235 333.9);
Tailwind
colors: {
  custom: {
    50: '#e57ed3',
    500: '#d338bf',
    950: '#000000',
  },
}
SCSS
$custom: #d338bf;
$custom-light: #e57ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#d338bf",
  "rgb": {
    "r": 211,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 307.742,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.62018,
    "c": 0.23505,
    "h": 333.9
  },
  "luminance": 0.20439
}

Semantic roles & 50–950 ramp

primary
#D338BF
secondary
#92D59A
accent
#E75641
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #D338BF

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

Preview Lab → · Contrast checker → · Palette generator →

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