#D277DC#D277DC

#D277DC is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.5% C 0.171 H 323.5°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#D277DC
RGBrgb(210, 119, 220)
HSLhsl(294, 59%, 66%)
HSVhsv(294, 46%, 86%)
CMYKcmyk(4.5%, 45.9%, 0%, 13.7%)
CIE-LABlab(63.40, 50.60, -36.91)
CIE-LCHlch(63.40, 62.63, 323.89°)
OKLaboklab(70.53% 0.1371 -0.1015)
OKLCHoklch(70.53% 0.171 323.5)
XYZxyz(46.0922, 32.0646, 71.4575)
Luminance0.3206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D277DC #81DC77
analogous
#A077DC #D277DC #DC77B4
triadic
#D277DC #DCD277 #77DCD2
tetradic
#D277DC #DCA077 #81DC77 #77B4DC
square
#D277DC #DCA077 #81DC77 #77B4DC
split-complementary
#D277DC #B4DC77 #77DCA0
monochromatic
#A02CAC #C246CF #D277DC #E2A8E9 #F2D8F5

Accessibility & contrast

On white

2.83
#D277DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#D277DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D277DC
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D277DC#FFFFFF#000000##000000
##D277DC1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B93DF
Deuteranopia (green-blind)
#849DD9
Tritanopia (blue-blind)
#D5839F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d277dc;
/* rgb */ color: rgb(210, 119, 220);
/* oklch */ color: oklch(70.5% 0.171 323.5);
Tailwind
colors: {
  custom: {
    50: '#e2a1e7',
    500: '#d277dc',
    950: '#000000',
  },
}
SCSS
$custom: #d277dc;
$custom-light: #e2a1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d277dc",
  "rgb": {
    "r": 210,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 294.059,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70526,
    "c": 0.17061,
    "h": 323.5
  },
  "luminance": 0.32063
}

Semantic roles & 50–950 ramp

primary
#D277DC
secondary
#CAE8C7
accent
#C71F2F
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D277DC

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

Preview Lab → · Contrast checker → · Palette generator →

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