#D054BC#D054BC

#D054BC is a light, vivid purple. Relative luminance 0.234; OKLCH L 64.2% C 0.196 H 334.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#D054BC
RGBrgb(208, 84, 188)
HSLhsl(310, 57%, 57%)
HSVhsv(310, 60%, 82%)
CMYKcmyk(0%, 59.6%, 9.6%, 18.4%)
CIE-LABlab(55.47, 61.14, -31.15)
CIE-LCHlch(55.47, 68.62, 333.00°)
OKLaboklab(64.16% 0.1771 -0.0848)
OKLCHoklch(64.16% 0.196 334.4)
XYZxyz(38.2601, 23.3843, 50.0657)
Luminance0.2338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D054BC #54D068
analogous
#A654D0 #D054BC #D0547E
triadic
#D054BC #BCD054 #54BCD0
tetradic
#D054BC #D0A654 #54D068 #547ED0
square
#D054BC #D0A654 #54D068 #547ED0
split-complementary
#D054BC #7ED054 #54D0A6
monochromatic
#852575 #B532A0 #D054BC #DD84CF #EAB4E2

Accessibility & contrast

On white

3.70
#D054BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#D054BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D054BC
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D054BC#FFFFFF#000000##000000
##D054BC1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5379BF
Deuteranopia (green-blind)
#7A8BB9
Tritanopia (blue-blind)
#D95C80
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d054bc;
/* rgb */ color: rgb(208, 84, 188);
/* oklch */ color: oklch(64.2% 0.196 334.4);
Tailwind
colors: {
  custom: {
    50: '#e18bd0',
    500: '#d054bc',
    950: '#000000',
  },
}
SCSS
$custom: #d054bc;
$custom-light: #e18bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#d054bc",
  "rgb": {
    "r": 208,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 309.677,
    "s": 56.881,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64156,
    "c": 0.19631,
    "h": 334.4
  },
  "luminance": 0.23381
}

Semantic roles & 50–950 ramp

primary
#D054BC
secondary
#A7D9AF
accent
#E06048
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #D054BC

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

Preview Lab → · Contrast checker → · Palette generator →

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