#D277EE#D277EE

#D277EE is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.4% C 0.189 H 317.8°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#D277EE
RGBrgb(210, 119, 238)
HSLhsl(286, 78%, 70%)
HSVhsv(286, 50%, 93%)
CMYKcmyk(11.8%, 50%, 0%, 6.7%)
CIE-LABlab(64.22, 54.07, -45.63)
CIE-LCHlch(64.22, 70.75, 319.84°)
OKLaboklab(71.4% 0.1397 -0.1267)
OKLCHoklch(71.4% 0.189 317.8)
XYZxyz(48.6056, 33.0700, 84.6951)
Luminance0.3307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D277EE #93EE77
analogous
#9677EE #D277EE #EE77CF
triadic
#D277EE #EED277 #77EED2
tetradic
#D277EE #EE9677 #93EE77 #77CFEE
square
#D277EE #EE9677 #93EE77 #77CFEE
split-complementary
#D277EE #CFEE77 #77EE96
monochromatic
#A61AD1 #C041E7 #D277EE #E4ADF5 #F6E4FC

Accessibility & contrast

On white

2.76
#D277EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#D277EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D277EE
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D277EE#FFFFFF#000000##000000
##D277EE1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F2
Deuteranopia (green-blind)
#7C9FEB
Tritanopia (blue-blind)
#D288A8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d277ee;
/* rgb */ color: rgb(210, 119, 238);
/* oklch */ color: oklch(71.4% 0.189 317.8);
Tailwind
colors: {
  custom: {
    50: '#e2a1f4',
    500: '#d277ee',
    950: '#000000',
  },
}
SCSS
$custom: #d277ee;
$custom-light: #e2a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d277ee",
  "rgb": {
    "r": 210,
    "g": 119,
    "b": 238
  },
  "hsl": {
    "h": 285.882,
    "s": 77.778,
    "l": 70
  },
  "oklch": {
    "l": 0.71403,
    "c": 0.18854,
    "h": 317.8
  },
  "luminance": 0.33068
}

Semantic roles & 50–950 ramp

primary
#D277EE
secondary
#D8F1D0
accent
#DA0B3C
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D277EE

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

Preview Lab → · Contrast checker → · Palette generator →

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