#D277CF#D277CF

#D277CF is a light, vivid purple. Relative luminance 0.314; OKLCH L 69.9% C 0.158 H 328.3°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#D277CF
RGBrgb(210, 119, 207)
HSLhsl(302, 50%, 65%)
HSVhsv(302, 43%, 82%)
CMYKcmyk(0%, 43.3%, 1.4%, 17.6%)
CIE-LABlab(62.85, 48.21, -30.49)
CIE-LCHlch(62.85, 57.04, 327.69°)
OKLaboklab(69.94% 0.1347 -0.0832)
OKLCHoklch(69.94% 0.158 328.3)
XYZxyz(44.4369, 31.4025, 62.7400)
Luminance0.3140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D277CF #77D27A
analogous
#A877D2 #D277CF #D277A2
triadic
#D277CF #CFD277 #77CFD2
tetradic
#D277CF #D2A877 #77D27A #77A2D2
square
#D277CF #D2A877 #77D27A #77A2D2
split-complementary
#D277CF #A2D277 #77D2A8
monochromatic
#9B3398 #C349BF #D277CF #E1A5DF #F0D3EF

Accessibility & contrast

On white

2.88
#D277CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#D277CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D277CF
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D277CF#FFFFFF#000000##000000
##D277CF1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7190D2
Deuteranopia (green-blind)
#8A9CCC
Tritanopia (blue-blind)
#D87F99
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d277cf;
/* rgb */ color: rgb(210, 119, 207);
/* oklch */ color: oklch(69.9% 0.158 328.3);
Tailwind
colors: {
  custom: {
    50: '#e1a1de',
    500: '#d277cf',
    950: '#000000',
  },
}
SCSS
$custom: #d277cf;
$custom-light: #e1a1de;
$custom-dark: #000000;
JSON
{
  "hex": "#d277cf",
  "rgb": {
    "r": 210,
    "g": 119,
    "b": 207
  },
  "hsl": {
    "h": 301.978,
    "s": 50.276,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69935,
    "c": 0.1583,
    "h": 328.3
  },
  "luminance": 0.314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D277CF

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

Preview Lab → · Contrast checker → · Palette generator →

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