#D277EF#D277EF

#D277EF is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.5% C 0.190 H 317.5°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#D277EF
RGBrgb(210, 119, 239)
HSLhsl(286, 79%, 70%)
HSVhsv(286, 50%, 94%)
CMYKcmyk(12.1%, 50.2%, 0%, 6.3%)
CIE-LABlab(64.27, 54.27, -46.11)
CIE-LCHlch(64.27, 71.21, 319.65°)
OKLaboklab(71.45% 0.1398 -0.128)
OKLCHoklch(71.45% 0.19 317.5)
XYZxyz(48.7530, 33.1289, 85.4710)
Luminance0.3313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D277EF #94EF77
analogous
#9677EF #D277EF #EF77D0
triadic
#D277EF #EFD277 #77EFD2
tetradic
#D277EF #EF9677 #94EF77 #77D0EF
square
#D277EF #EF9677 #94EF77 #77D0EF
split-complementary
#D277EF #D0EF77 #77EF96
monochromatic
#A619D3 #C040E9 #D277EF #E4AEF5 #F6E4FC

Accessibility & contrast

On white

2.75
#D277EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#D277EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D277EF
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D277EF#FFFFFF#000000##000000
##D277EF1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F96F3
Deuteranopia (green-blind)
#7B9FEC
Tritanopia (blue-blind)
#D189A8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d277ef;
/* rgb */ color: rgb(210, 119, 239);
/* oklch */ color: oklch(71.5% 0.190 317.5);
Tailwind
colors: {
  custom: {
    50: '#e2a1f5',
    500: '#d277ef',
    950: '#000000',
  },
}
SCSS
$custom: #d277ef;
$custom-light: #e2a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d277ef",
  "rgb": {
    "r": 210,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 285.5,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71454,
    "c": 0.18956,
    "h": 317.5
  },
  "luminance": 0.33127
}

Semantic roles & 50–950 ramp

primary
#D277EF
secondary
#D8F2D0
accent
#DB0A3D
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D277EF

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

Preview Lab → · Contrast checker → · Palette generator →

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