#D334CB#D334CB

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

Color values

HEX#D334CB
RGBrgb(211, 52, 203)
HSLhsl(303, 64%, 52%)
HSVhsv(303, 75%, 83%)
CMYKcmyk(0%, 75.4%, 3.8%, 17.3%)
CIE-LABlab(52.53, 75.74, -44.36)
CIE-LCHlch(52.53, 87.78, 329.64°)
OKLaboklab(62.36% 0.2149 -0.1225)
OKLCHoklch(62.36% 0.247 330.3)
XYZxyz(38.8713, 20.6198, 58.4211)
Luminance0.2062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D334CB #34D33C
analogous
#8C34D3 #D334CB #D3347C
triadic
#D334CB #CBD334 #34CBD3
tetradic
#D334CB #D38C34 #34D33C #347CD3
square
#D334CB #D38C34 #34D33C #347CD3
split-complementary
#D334CB #7CD334 #34D38C
monochromatic
#74196F #A6249F #D334CB #DE66D8 #E999E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D334CB#FFFFFF#000000##000000
##D334CB1.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)
#1E70CF
Deuteranopia (green-blind)
#6685C7
Tritanopia (blue-blind)
#DB4A7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d334cb;
/* rgb */ color: rgb(211, 52, 203);
/* oklch */ color: oklch(62.4% 0.247 330.3);
Tailwind
colors: {
  custom: {
    50: '#e57ddb',
    500: '#d334cb',
    950: '#000000',
  },
}
SCSS
$custom: #d334cb;
$custom-light: #e57ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#d334cb",
  "rgb": {
    "r": 211,
    "g": 52,
    "b": 203
  },
  "hsl": {
    "h": 303.019,
    "s": 64.372,
    "l": 51.569
  },
  "oklch": {
    "l": 0.62358,
    "c": 0.24738,
    "h": 330.3
  },
  "luminance": 0.20617
}

Semantic roles & 50–950 ramp

primary
#D334CB
secondary
#8ED492
accent
#E74940
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D334CB

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

Preview Lab → · Contrast checker → · Palette generator →

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