#D330BC#D330BC

#D330BC is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.3% C 0.241 H 334.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#D330BC
RGBrgb(211, 48, 188)
HSLhsl(308, 65%, 51%)
HSVhsv(308, 77%, 83%)
CMYKcmyk(0%, 77.3%, 10.9%, 17.3%)
CIE-LABlab(51.38, 74.65, -37.51)
CIE-LCHlch(51.38, 83.55, 333.32°)
OKLaboklab(61.29% 0.2177 -0.1027)
OKLCHoklch(61.29% 0.241 334.7)
XYZxyz(36.9985, 19.5970, 49.4012)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D330BC #30D347
analogous
#9830D3 #D330BC #D3306A
triadic
#D330BC #BCD330 #30BCD3
tetradic
#D330BC #D39830 #30D347 #306AD3
square
#D330BC #D39830 #30D347 #306AD3
split-complementary
#D330BC #6AD330 #30D398
monochromatic
#711864 #A32391 #D330BC #DE62CC #E895DD

Accessibility & contrast

On white

4.27
#D330BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#D330BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D330BC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D330BC#FFFFFF#000000##000000
##D330BC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BC0
Deuteranopia (green-blind)
#6C83B8
Tritanopia (blue-blind)
#DD4075
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d330bc;
/* rgb */ color: rgb(211, 48, 188);
/* oklch */ color: oklch(61.3% 0.241 334.7);
Tailwind
colors: {
  custom: {
    50: '#e57bd0',
    500: '#d330bc',
    950: '#000000',
  },
}
SCSS
$custom: #d330bc;
$custom-light: #e57bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#d330bc",
  "rgb": {
    "r": 211,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 308.466,
    "s": 64.94,
    "l": 50.784
  },
  "oklch": {
    "l": 0.61285,
    "c": 0.24071,
    "h": 334.7
  },
  "luminance": 0.19594
}

Semantic roles & 50–950 ramp

primary
#D330BC
secondary
#8BD495
accent
#E85840
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #D330BC

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

Preview Lab → · Contrast checker → · Palette generator →

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