#D276EA#D276EA

#D276EA is a light, vivid purple. Relative luminance 0.326; OKLCH L 71.1% C 0.186 H 319.0°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#D276EA
RGBrgb(210, 118, 234)
HSLhsl(288, 73%, 69%)
HSVhsv(288, 50%, 92%)
CMYKcmyk(10.3%, 49.6%, 0%, 8.2%)
CIE-LABlab(63.84, 53.79, -44.01)
CIE-LCHlch(63.84, 69.50, 320.71°)
OKLaboklab(71.06% 0.1405 -0.122)
OKLCHoklch(71.06% 0.186 319)
XYZxyz(47.9061, 32.6008, 81.5950)
Luminance0.3260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D276EA #8EEA76
analogous
#9876EA #D276EA #EA76C8
triadic
#D276EA #EAD276 #76EAD2
tetradic
#D276EA #EA9876 #8EEA76 #76C8EA
square
#D276EA #EA9876 #8EEA76 #76C8EA
split-complementary
#D276EA #C8EA76 #76EA98
monochromatic
#A41FC7 #C141E2 #D276EA #E3ABF2 #F5E0FA

Accessibility & contrast

On white

2.79
#D276EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#D276EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D276EA
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D276EA#FFFFFF#000000##000000
##D276EA1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6194EE
Deuteranopia (green-blind)
#7D9EE7
Tritanopia (blue-blind)
#D386A5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d276ea;
/* rgb */ color: rgb(210, 118, 234);
/* oklch */ color: oklch(71.1% 0.186 319.0);
Tailwind
colors: {
  custom: {
    50: '#e2a0f1',
    500: '#d276ea',
    950: '#000000',
  },
}
SCSS
$custom: #d276ea;
$custom-light: #e2a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d276ea",
  "rgb": {
    "r": 210,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 287.586,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.7106,
    "c": 0.18608,
    "h": 319
  },
  "luminance": 0.32599
}

Semantic roles & 50–950 ramp

primary
#D276EA
secondary
#D4EFCD
accent
#D61039
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D276EA

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

Preview Lab → · Contrast checker → · Palette generator →

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