#D280EC#D280EC

#D280EC is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.6% C 0.172 H 317.6°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#D280EC
RGBrgb(210, 128, 236)
HSLhsl(286, 74%, 71%)
HSVhsv(286, 46%, 93%)
CMYKcmyk(11%, 45.8%, 0%, 7.5%)
CIE-LABlab(65.90, 49.08, -41.88)
CIE-LCHlch(65.90, 64.51, 319.53°)
OKLaboklab(72.62% 0.1271 -0.1159)
OKLCHoklch(72.62% 0.172 317.6)
XYZxyz(49.4357, 35.1977, 83.5303)
Luminance0.3520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D280EC #9AEC80
analogous
#9C80EC #D280EC #EC80D0
triadic
#D280EC #ECD280 #80ECD2
tetradic
#D280EC #EC9C80 #9AEC80 #80D0EC
square
#D280EC #EC9C80 #9AEC80 #80D0EC
split-complementary
#D280EC #D0EC80 #80EC9C
monochromatic
#A71FD2 #BF4BE4 #D280EC #E5B5F4 #F6E4FB

Accessibility & contrast

On white

2.61
#D280EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#D280EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D280EC
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D280EC#FFFFFF#000000##000000
##D280EC1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9BF0
Deuteranopia (green-blind)
#84A3E9
Tritanopia (blue-blind)
#D28FAB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d280ec;
/* rgb */ color: rgb(210, 128, 236);
/* oklch */ color: oklch(72.6% 0.172 317.6);
Tailwind
colors: {
  custom: {
    50: '#e2a7f2',
    500: '#d280ec',
    950: '#000000',
  },
}
SCSS
$custom: #d280ec;
$custom-light: #e2a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d280ec",
  "rgb": {
    "r": 210,
    "g": 128,
    "b": 236
  },
  "hsl": {
    "h": 285.556,
    "s": 73.973,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72624,
    "c": 0.172,
    "h": 317.6
  },
  "luminance": 0.35196
}

Semantic roles & 50–950 ramp

primary
#D280EC
secondary
#DDF2D6
accent
#D60F3F
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D280EC

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

Preview Lab → · Contrast checker → · Palette generator →

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