#D277EC#D277EC

#D277EC is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.3% C 0.187 H 318.4°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#D277EC
RGBrgb(210, 119, 236)
HSLhsl(287, 75%, 70%)
HSVhsv(287, 50%, 93%)
CMYKcmyk(11%, 49.6%, 0%, 7.5%)
CIE-LABlab(64.12, 53.68, -44.67)
CIE-LCHlch(64.12, 69.84, 320.23°)
OKLaboklab(71.3% 0.1394 -0.1239)
OKLCHoklch(71.3% 0.187 318.4)
XYZxyz(48.3134, 32.9531, 83.1562)
Luminance0.3295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D277EC #91EC77
analogous
#9877EC #D277EC #EC77CB
triadic
#D277EC #ECD277 #77ECD2
tetradic
#D277EC #EC9877 #91EC77 #77CBEC
square
#D277EC #EC9877 #91EC77 #77CBEC
split-complementary
#D277EC #CBEC77 #77EC98
monochromatic
#A51DCC #C041E4 #D277EC #E4ADF4 #F6E2FB

Accessibility & contrast

On white

2.77
#D277EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#D277EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D277EC
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D277EC#FFFFFF#000000##000000
##D277EC1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195F0
Deuteranopia (green-blind)
#7D9FE9
Tritanopia (blue-blind)
#D288A7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d277ec;
/* rgb */ color: rgb(210, 119, 236);
/* oklch */ color: oklch(71.3% 0.187 318.4);
Tailwind
colors: {
  custom: {
    50: '#e2a1f2',
    500: '#d277ec',
    950: '#000000',
  },
}
SCSS
$custom: #d277ec;
$custom-light: #e2a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d277ec",
  "rgb": {
    "r": 210,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 286.667,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71302,
    "c": 0.18651,
    "h": 318.4
  },
  "luminance": 0.32951
}

Semantic roles & 50–950 ramp

primary
#D277EC
secondary
#D6F0CF
accent
#D80E3B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D277EC

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

Preview Lab → · Contrast checker → · Palette generator →

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