#D330CB#D330CB

#D330CB is a light, highly saturated purple. Relative luminance 0.203; OKLCH L 62.1% C 0.251 H 330.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#D330CB
RGBrgb(211, 48, 203)
HSLhsl(303, 65%, 51%)
HSVhsv(303, 77%, 83%)
CMYKcmyk(0%, 77.3%, 3.8%, 17.3%)
CIE-LABlab(52.15, 76.84, -44.96)
CIE-LCHlch(52.15, 89.03, 329.67°)
OKLaboklab(62.09% 0.2181 -0.1242)
OKLCHoklch(62.09% 0.251 330.3)
XYZxyz(38.7003, 20.2777, 58.3640)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D330CB #30D338
analogous
#8930D3 #D330CB #D33079
triadic
#D330CB #CBD330 #30CBD3
tetradic
#D330CB #D38930 #30D338 #3079D3
square
#D330CB #D38930 #30D338 #3079D3
split-complementary
#D330CB #79D330 #30D389
monochromatic
#71186C #A3239D #D330CB #DE62D8 #E895E4

Accessibility & contrast

On white

4.15
#D330CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#D330CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D330CB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D330CB#FFFFFF#000000##000000
##D330CB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#166ECF
Deuteranopia (green-blind)
#6484C7
Tritanopia (blue-blind)
#DB487D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d330cb;
/* rgb */ color: rgb(211, 48, 203);
/* oklch */ color: oklch(62.1% 0.251 330.3);
Tailwind
colors: {
  custom: {
    50: '#e57bdb',
    500: '#d330cb',
    950: '#000000',
  },
}
SCSS
$custom: #d330cb;
$custom-light: #e57bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d330cb",
  "rgb": {
    "r": 211,
    "g": 48,
    "b": 203
  },
  "hsl": {
    "h": 302.945,
    "s": 64.94,
    "l": 50.784
  },
  "oklch": {
    "l": 0.62086,
    "c": 0.25098,
    "h": 330.3
  },
  "luminance": 0.20275
}

Semantic roles & 50–950 ramp

primary
#D330CB
secondary
#8BD48F
accent
#E84840
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D330CB

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

Preview Lab → · Contrast checker → · Palette generator →

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