#D276DC#D276DC

#D276DC is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.4% C 0.172 H 323.5°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#D276DC
RGBrgb(210, 118, 220)
HSLhsl(294, 59%, 66%)
HSVhsv(294, 46%, 86%)
CMYKcmyk(4.5%, 46.4%, 0%, 13.7%)
CIE-LABlab(63.20, 51.11, -37.22)
CIE-LCHlch(63.20, 63.22, 323.94°)
OKLaboklab(70.38% 0.1385 -0.1024)
OKLCHoklch(70.38% 0.172 323.5)
XYZxyz(45.9738, 31.8279, 71.4180)
Luminance0.3183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D276DC #80DC76
analogous
#9F76DC #D276DC #DC76B3
triadic
#D276DC #DCD276 #76DCD2
tetradic
#D276DC #DC9F76 #80DC76 #76B3DC
square
#D276DC #DC9F76 #80DC76 #76B3DC
split-complementary
#D276DC #B3DC76 #76DC9F
monochromatic
#9F2CAC #C245D0 #D276DC #E2A7E8 #F2D7F5

Accessibility & contrast

On white

2.85
#D276DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#D276DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D276DC
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D276DC#FFFFFF#000000##000000
##D276DC1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6992E0
Deuteranopia (green-blind)
#849DD9
Tritanopia (blue-blind)
#D5829F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d276dc;
/* rgb */ color: rgb(210, 118, 220);
/* oklch */ color: oklch(70.4% 0.172 323.5);
Tailwind
colors: {
  custom: {
    50: '#e2a0e7',
    500: '#d276dc',
    950: '#000000',
  },
}
SCSS
$custom: #d276dc;
$custom-light: #e2a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d276dc",
  "rgb": {
    "r": 210,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 294.118,
    "s": 59.302,
    "l": 66.275
  },
  "oklch": {
    "l": 0.7038,
    "c": 0.17226,
    "h": 323.5
  },
  "luminance": 0.31826
}

Semantic roles & 50–950 ramp

primary
#D276DC
secondary
#CAE8C6
accent
#C71F2F
background
#FEFAFE
surface
#FCF3FC
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D276DC

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

Preview Lab → · Contrast checker → · Palette generator →

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