#D277EA#D277EA

#D277EA is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.2% C 0.184 H 319.0°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#D277EA
RGBrgb(210, 119, 234)
HSLhsl(287, 73%, 69%)
HSVhsv(287, 49%, 92%)
CMYKcmyk(10.3%, 49.1%, 0%, 8.2%)
CIE-LABlab(64.03, 53.29, -43.71)
CIE-LCHlch(64.03, 68.92, 320.64°)
OKLaboklab(71.2% 0.1392 -0.1211)
OKLCHoklch(71.2% 0.184 319)
XYZxyz(48.0245, 32.8376, 81.6345)
Luminance0.3284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D277EA #8FEA77
analogous
#9977EA #D277EA #EA77C9
triadic
#D277EA #EAD277 #77EAD2
tetradic
#D277EA #EA9977 #8FEA77 #77C9EA
square
#D277EA #EA9977 #8FEA77 #77C9EA
split-complementary
#D277EA #C9EA77 #77EA99
monochromatic
#A51FC8 #C042E2 #D277EA #E4ACF2 #F5E1FA

Accessibility & contrast

On white

2.78
#D277EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#D277EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D277EA
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D277EA#FFFFFF#000000##000000
##D277EA1.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6395EE
Deuteranopia (green-blind)
#7E9EE7
Tritanopia (blue-blind)
#D287A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d277ea;
/* rgb */ color: rgb(210, 119, 234);
/* oklch */ color: oklch(71.2% 0.184 319.0);
Tailwind
colors: {
  custom: {
    50: '#e2a1f1',
    500: '#d277ea',
    950: '#000000',
  },
}
SCSS
$custom: #d277ea;
$custom-light: #e2a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d277ea",
  "rgb": {
    "r": 210,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 287.478,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71202,
    "c": 0.18449,
    "h": 319
  },
  "luminance": 0.32836
}

Semantic roles & 50–950 ramp

primary
#D277EA
secondary
#D5EFCE
accent
#D51039
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D277EA

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

Preview Lab → · Contrast checker → · Palette generator →

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