#D276CC#D276CC

#D276CC is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.7% C 0.157 H 329.5°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#D276CC
RGBrgb(210, 118, 204)
HSLhsl(304, 51%, 64%)
HSVhsv(304, 44%, 82%)
CMYKcmyk(0%, 43.8%, 2.9%, 17.6%)
CIE-LABlab(62.52, 48.19, -29.29)
CIE-LCHlch(62.52, 56.39, 328.70°)
OKLaboklab(69.66% 0.1355 -0.0798)
OKLCHoklch(69.66% 0.157 329.5)
XYZxyz(43.9553, 31.0205, 60.7873)
Luminance0.3102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D276CC #76D27C
analogous
#AA76D2 #D276CC #D2769E
triadic
#D276CC #CCD276 #76CCD2
tetradic
#D276CC #D2AA76 #76D27C #769ED2
square
#D276CC #D2AA76 #76D27C #769ED2
split-complementary
#D276CC #9ED276 #76D2AA
monochromatic
#9B3394 #C348BB #D276CC #E1A4DD #F0D2EE

Accessibility & contrast

On white

2.92
#D276CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#D276CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D276CC
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D276CC#FFFFFF#000000##000000
##D276CC1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#718FCF
Deuteranopia (green-blind)
#8A9CC9
Tritanopia (blue-blind)
#D87E98
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d276cc;
/* rgb */ color: rgb(210, 118, 204);
/* oklch */ color: oklch(69.7% 0.157 329.5);
Tailwind
colors: {
  custom: {
    50: '#e1a0db',
    500: '#d276cc',
    950: '#000000',
  },
}
SCSS
$custom: #d276cc;
$custom-light: #e1a0db;
$custom-dark: #000000;
JSON
{
  "hex": "#d276cc",
  "rgb": {
    "r": 210,
    "g": 118,
    "b": 204
  },
  "hsl": {
    "h": 303.913,
    "s": 50.549,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69656,
    "c": 0.15725,
    "h": 329.5
  },
  "luminance": 0.31018
}

Semantic roles & 50–950 ramp

primary
#D276CC
secondary
#C2E2C4
accent
#BE3128
background
#FEFAFD
surface
#FCF3FB
border
#D5CDD4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D276CC

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

Preview Lab → · Contrast checker → · Palette generator →

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