#D277EB#D277EB

#D277EB is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.3% C 0.185 H 318.7°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#D277EB
RGBrgb(210, 119, 235)
HSLhsl(287, 74%, 69%)
HSVhsv(287, 49%, 92%)
CMYKcmyk(10.6%, 49.4%, 0%, 7.8%)
CIE-LABlab(64.08, 53.48, -44.19)
CIE-LCHlch(64.08, 69.38, 320.43°)
OKLaboklab(71.25% 0.1393 -0.1225)
OKLCHoklch(71.25% 0.186 318.7)
XYZxyz(48.1686, 32.8952, 82.3932)
Luminance0.3289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D277EB #90EB77
analogous
#9877EB #D277EB #EB77CA
triadic
#D277EB #EBD277 #77EBD2
tetradic
#D277EB #EB9877 #90EB77 #77CAEB
square
#D277EB #EB9877 #90EB77 #77CAEB
split-complementary
#D277EB #CAEB77 #77EB98
monochromatic
#A51ECA #C042E3 #D277EB #E4ACF3 #F5E2FB

Accessibility & contrast

On white

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

On black

7.58
#D277EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D277EB
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D277EB#FFFFFF#000000##000000
##D277EB1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EF
Deuteranopia (green-blind)
#7D9EE8
Tritanopia (blue-blind)
#D287A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d277eb;
/* rgb */ color: rgb(210, 119, 235);
/* oklch */ color: oklch(71.3% 0.185 318.7);
Tailwind
colors: {
  custom: {
    50: '#e2a1f2',
    500: '#d277eb',
    950: '#000000',
  },
}
SCSS
$custom: #d277eb;
$custom-light: #e2a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d277eb",
  "rgb": {
    "r": 210,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 287.069,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71252,
    "c": 0.1855,
    "h": 318.7
  },
  "luminance": 0.32893
}

Semantic roles & 50–950 ramp

primary
#D277EB
secondary
#D5F0CE
accent
#D60F3A
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D277EB

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

Preview Lab → · Contrast checker → · Palette generator →

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