#D277CC#D277CC

#D277CC is a light, vivid purple. Relative luminance 0.313; OKLCH L 69.8% C 0.156 H 329.5°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#D277CC
RGBrgb(210, 119, 204)
HSLhsl(304, 50%, 65%)
HSVhsv(304, 43%, 82%)
CMYKcmyk(0%, 43.3%, 2.9%, 17.6%)
CIE-LABlab(62.72, 47.68, -28.99)
CIE-LCHlch(62.72, 55.80, 328.70°)
OKLaboklab(69.8% 0.1341 -0.0789)
OKLCHoklch(69.8% 0.156 329.5)
XYZxyz(44.0737, 31.2572, 60.8268)
Luminance0.3125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D277CC #77D27D
analogous
#AB77D2 #D277CC #D2779F
triadic
#D277CC #CCD277 #77CCD2
tetradic
#D277CC #D2AB77 #77D27D #779FD2
square
#D277CC #D2AB77 #77D27D #779FD2
split-complementary
#D277CC #9FD277 #77D2AB
monochromatic
#9B3394 #C349BB #D277CC #E1A5DD #F0D3EE

Accessibility & contrast

On white

2.90
#D277CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#D277CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D277CC
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D277CC#FFFFFF#000000##000000
##D277CC1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7290CF
Deuteranopia (green-blind)
#8B9CC9
Tritanopia (blue-blind)
#D87E98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d277cc;
/* rgb */ color: rgb(210, 119, 204);
/* oklch */ color: oklch(69.8% 0.156 329.5);
Tailwind
colors: {
  custom: {
    50: '#e1a1db',
    500: '#d277cc',
    950: '#000000',
  },
}
SCSS
$custom: #d277cc;
$custom-light: #e1a1db;
$custom-dark: #000000;
JSON
{
  "hex": "#d277cc",
  "rgb": {
    "r": 210,
    "g": 119,
    "b": 204
  },
  "hsl": {
    "h": 303.956,
    "s": 50.276,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69804,
    "c": 0.15556,
    "h": 329.5
  },
  "luminance": 0.31255
}

Semantic roles & 50–950 ramp

primary
#D277CC
secondary
#C3E2C5
accent
#BE3228
background
#FEFAFD
surface
#FCF3FB
border
#D5CDD4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D277CC

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

Preview Lab → · Contrast checker → · Palette generator →

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