#D277CD#D277CD

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

Color values

HEX#D277CD
RGBrgb(210, 119, 205)
HSLhsl(303, 50%, 65%)
HSVhsv(303, 43%, 82%)
CMYKcmyk(0%, 43.3%, 2.4%, 17.6%)
CIE-LABlab(62.76, 47.85, -29.49)
CIE-LCHlch(62.76, 56.21, 328.36°)
OKLaboklab(69.85% 0.1343 -0.0803)
OKLCHoklch(69.85% 0.156 329.1)
XYZxyz(44.1940, 31.3054, 61.4605)
Luminance0.3130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D277CD #77D27C
analogous
#AA77D2 #D277CD #D277A0
triadic
#D277CD #CDD277 #77CDD2
tetradic
#D277CD #D2AA77 #77D27C #77A0D2
square
#D277CD #D2AA77 #77D27C #77A0D2
split-complementary
#D277CD #A0D277 #77D2AA
monochromatic
#9B3396 #C349BC #D277CD #E1A5DE #F0D3EF

Accessibility & contrast

On white

2.89
#D277CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#D277CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D277CD
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D277CD#FFFFFF#000000##000000
##D277CD1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7290D0
Deuteranopia (green-blind)
#8B9CCA
Tritanopia (blue-blind)
#D87F98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d277cd;
/* rgb */ color: rgb(210, 119, 205);
/* oklch */ color: oklch(69.8% 0.156 329.1);
Tailwind
colors: {
  custom: {
    50: '#e1a1dc',
    500: '#d277cd',
    950: '#000000',
  },
}
SCSS
$custom: #d277cd;
$custom-light: #e1a1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d277cd",
  "rgb": {
    "r": 210,
    "g": 119,
    "b": 205
  },
  "hsl": {
    "h": 303.297,
    "s": 50.276,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69848,
    "c": 0.15647,
    "h": 329.1
  },
  "luminance": 0.31303
}

Semantic roles & 50–950 ramp

primary
#D277CD
secondary
#C3E2C4
accent
#BE3028
background
#FEFAFD
surface
#FCF3FB
border
#D5CDD4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D277CD

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

Preview Lab → · Contrast checker → · Palette generator →

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