#D277CB#D277CB

#D277CB is a light, vivid purple. Relative luminance 0.312; OKLCH L 69.8% C 0.155 H 329.9°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#D277CB
RGBrgb(210, 119, 203)
HSLhsl(305, 50%, 65%)
HSVhsv(305, 43%, 82%)
CMYKcmyk(0%, 43.3%, 3.3%, 17.6%)
CIE-LABlab(62.68, 47.50, -28.49)
CIE-LCHlch(62.68, 55.39, 329.05°)
OKLaboklab(69.76% 0.1338 -0.0775)
OKLCHoklch(69.76% 0.155 329.9)
XYZxyz(43.9541, 31.2094, 60.1972)
Luminance0.3121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D277CB #77D27E
analogous
#AB77D2 #D277CB #D2779E
triadic
#D277CB #CBD277 #77CBD2
tetradic
#D277CB #D2AB77 #77D27E #779ED2
square
#D277CB #D2AB77 #77D27E #779ED2
split-complementary
#D277CB #9ED277 #77D2AB
monochromatic
#9B3393 #C349B9 #D277CB #E1A5DD #F0D3EE

Accessibility & contrast

On white

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

On black

7.24
#D277CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D277CB
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D277CB#FFFFFF#000000##000000
##D277CB1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CE
Deuteranopia (green-blind)
#8B9CC8
Tritanopia (blue-blind)
#D87E98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d277cb;
/* rgb */ color: rgb(210, 119, 203);
/* oklch */ color: oklch(69.8% 0.155 329.9);
Tailwind
colors: {
  custom: {
    50: '#e1a1db',
    500: '#d277cb',
    950: '#000000',
  },
}
SCSS
$custom: #d277cb;
$custom-light: #e1a1db;
$custom-dark: #000000;
JSON
{
  "hex": "#d277cb",
  "rgb": {
    "r": 210,
    "g": 119,
    "b": 203
  },
  "hsl": {
    "h": 304.615,
    "s": 50.276,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69761,
    "c": 0.15466,
    "h": 329.9
  },
  "luminance": 0.31207
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D277CB

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

Preview Lab → · Contrast checker → · Palette generator →

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