#D277CE#D277CE

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

Color values

HEX#D277CE
RGBrgb(210, 119, 206)
HSLhsl(303, 50%, 65%)
HSVhsv(303, 43%, 82%)
CMYKcmyk(0%, 43.3%, 1.9%, 17.6%)
CIE-LABlab(62.81, 48.03, -29.99)
CIE-LCHlch(62.81, 56.63, 328.02°)
OKLaboklab(69.89% 0.1345 -0.0818)
OKLCHoklch(69.89% 0.157 328.7)
XYZxyz(44.3151, 31.3538, 62.0982)
Luminance0.3135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D277CE #77D27B
analogous
#A877D2 #D277CE #D277A1
triadic
#D277CE #CED277 #77CED2
tetradic
#D277CE #D2A877 #77D27B #77A1D2
square
#D277CE #D2A877 #77D27B #77A1D2
split-complementary
#D277CE #A1D277 #77D2A8
monochromatic
#9B3397 #C349BD #D277CE #E1A5DF #F0D3EF

Accessibility & contrast

On white

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

On black

7.27
#D277CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D277CE
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D277CE#FFFFFF#000000##000000
##D277CE1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d277ce;
/* rgb */ color: rgb(210, 119, 206);
/* oklch */ color: oklch(69.9% 0.157 328.7);
Tailwind
colors: {
  custom: {
    50: '#e1a1dd',
    500: '#d277ce',
    950: '#000000',
  },
}
SCSS
$custom: #d277ce;
$custom-light: #e1a1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d277ce",
  "rgb": {
    "r": 210,
    "g": 119,
    "b": 206
  },
  "hsl": {
    "h": 302.637,
    "s": 50.276,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69892,
    "c": 0.15738,
    "h": 328.7
  },
  "luminance": 0.31352
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D277CE

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

Preview Lab → · Contrast checker → · Palette generator →

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