#D277CA#D277CA

#D277CA is a light, vivid purple. Relative luminance 0.312; OKLCH L 69.7% C 0.154 H 330.3°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#D277CA
RGBrgb(210, 119, 202)
HSLhsl(305, 50%, 65%)
HSVhsv(305, 43%, 82%)
CMYKcmyk(0%, 43.3%, 3.8%, 17.6%)
CIE-LABlab(62.64, 47.32, -27.98)
CIE-LCHlch(62.64, 54.98, 329.40°)
OKLaboklab(69.72% 0.1336 -0.0761)
OKLCHoklch(69.72% 0.154 330.3)
XYZxyz(43.8353, 31.1619, 59.5716)
Luminance0.3116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D277CA #77D27F
analogous
#AD77D2 #D277CA #D2779D
triadic
#D277CA #CAD277 #77CAD2
tetradic
#D277CA #D2AD77 #77D27F #779DD2
square
#D277CA #D2AD77 #77D27F #779DD2
split-complementary
#D277CA #9DD277 #77D2AD
monochromatic
#9B3392 #C349B8 #D277CA #E1A5DC #F0D3EE

Accessibility & contrast

On white

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

On black

7.23
#D277CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D277CA
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D277CA#FFFFFF#000000##000000
##D277CA1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CD
Deuteranopia (green-blind)
#8C9CC7
Tritanopia (blue-blind)
#D87E97
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d277ca;
/* rgb */ color: rgb(210, 119, 202);
/* oklch */ color: oklch(69.7% 0.154 330.3);
Tailwind
colors: {
  custom: {
    50: '#e1a1da',
    500: '#d277ca',
    950: '#000000',
  },
}
SCSS
$custom: #d277ca;
$custom-light: #e1a1da;
$custom-dark: #000000;
JSON
{
  "hex": "#d277ca",
  "rgb": {
    "r": 210,
    "g": 119,
    "b": 202
  },
  "hsl": {
    "h": 305.275,
    "s": 50.276,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69718,
    "c": 0.15377,
    "h": 330.3
  },
  "luminance": 0.3116
}

Semantic roles & 50–950 ramp

primary
#D277CA
secondary
#C3E2C5
accent
#BE3528
background
#FEFAFD
surface
#FCF3FA
border
#D5CDD3
text
#160F15
muted
#847F83

Preview Lab

Preview with #D277CA

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

Preview Lab → · Contrast checker → · Palette generator →

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