#D276EC#D276EC

#D276EC is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.2% C 0.188 H 318.4°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#D276EC
RGBrgb(210, 118, 236)
HSLhsl(287, 76%, 69%)
HSVhsv(287, 50%, 93%)
CMYKcmyk(11%, 50%, 0%, 7.5%)
CIE-LABlab(63.93, 54.18, -44.97)
CIE-LCHlch(63.93, 70.42, 320.31°)
OKLaboklab(71.16% 0.1408 -0.1248)
OKLCHoklch(71.16% 0.188 318.4)
XYZxyz(48.1951, 32.7164, 83.1168)
Luminance0.3271 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D276EC #90EC76
analogous
#9776EC #D276EC #EC76CB
triadic
#D276EC #ECD276 #76ECD2
tetradic
#D276EC #EC9776 #90EC76 #76CBEC
square
#D276EC #EC9776 #90EC76 #76CBEC
split-complementary
#D276EC #CBEC76 #76EC97
monochromatic
#A51CCB #C040E5 #D276EC #E4ACF3 #F5E1FB

Accessibility & contrast

On white

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

On black

7.54
#D276EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D276EC
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D276EC#FFFFFF#000000##000000
##D276EC1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6095F0
Deuteranopia (green-blind)
#7C9EE9
Tritanopia (blue-blind)
#D287A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d276ec;
/* rgb */ color: rgb(210, 118, 236);
/* oklch */ color: oklch(71.2% 0.188 318.4);
Tailwind
colors: {
  custom: {
    50: '#e2a0f2',
    500: '#d276ec',
    950: '#000000',
  },
}
SCSS
$custom: #d276ec;
$custom-light: #e2a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d276ec",
  "rgb": {
    "r": 210,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 286.78,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.7116,
    "c": 0.1881,
    "h": 318.4
  },
  "luminance": 0.32715
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D276EC

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

Preview Lab → · Contrast checker → · Palette generator →

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