#D276C8#D276C8

#D276C8 is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.5% C 0.154 H 331.2°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#D276C8
RGBrgb(210, 118, 200)
HSLhsl(307, 51%, 64%)
HSVhsv(307, 44%, 82%)
CMYKcmyk(0%, 43.8%, 4.8%, 17.6%)
CIE-LABlab(62.36, 47.49, -27.29)
CIE-LCHlch(62.36, 54.77, 330.12°)
OKLaboklab(69.48% 0.1346 -0.0741)
OKLCHoklch(69.48% 0.154 331.2)
XYZxyz(43.4817, 30.8310, 58.2931)
Luminance0.3083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D276C8 #76D280
analogous
#AE76D2 #D276C8 #D2769A
triadic
#D276C8 #C8D276 #76C8D2
tetradic
#D276C8 #D2AE76 #76D280 #769AD2
square
#D276C8 #D2AE76 #76D280 #769AD2
split-complementary
#D276C8 #9AD276 #76D2AE
monochromatic
#9B338F #C348B6 #D276C8 #E1A4DA #F0D2ED

Accessibility & contrast

On white

2.93
#D276C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#D276C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D276C8
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D276C8#FFFFFF#000000##000000
##D276C81.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#738FCB
Deuteranopia (green-blind)
#8C9BC5
Tritanopia (blue-blind)
#D97D96
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d276c8;
/* rgb */ color: rgb(210, 118, 200);
/* oklch */ color: oklch(69.5% 0.154 331.2);
Tailwind
colors: {
  custom: {
    50: '#e1a0d9',
    500: '#d276c8',
    950: '#000000',
  },
}
SCSS
$custom: #d276c8;
$custom-light: #e1a0d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d276c8",
  "rgb": {
    "r": 210,
    "g": 118,
    "b": 200
  },
  "hsl": {
    "h": 306.522,
    "s": 50.549,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69483,
    "c": 0.15368,
    "h": 331.2
  },
  "luminance": 0.30829
}

Semantic roles & 50–950 ramp

primary
#D276C8
secondary
#C2E2C5
accent
#BE3828
background
#FEFAFD
surface
#FCF3FA
border
#D5CDD3
text
#160F14
muted
#847F83

Preview Lab

Preview with #D276C8

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

Preview Lab → · Contrast checker → · Palette generator →

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