#D276C7#D276C7

#D276C7 is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.4% C 0.153 H 331.6°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#D276C7
RGBrgb(210, 118, 199)
HSLhsl(307, 51%, 64%)
HSVhsv(307, 44%, 82%)
CMYKcmyk(0%, 43.8%, 5.2%, 17.6%)
CIE-LABlab(62.33, 47.31, -26.78)
CIE-LCHlch(62.33, 54.37, 330.49°)
OKLaboklab(69.44% 0.1344 -0.0727)
OKLCHoklch(69.44% 0.153 331.6)
XYZxyz(43.3652, 30.7844, 57.6796)
Luminance0.3078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D276C7 #76D281
analogous
#AF76D2 #D276C7 #D27699
triadic
#D276C7 #C7D276 #76C7D2
tetradic
#D276C7 #D2AF76 #76D281 #7699D2
square
#D276C7 #D2AF76 #76D281 #7699D2
split-complementary
#D276C7 #99D276 #76D2AF
monochromatic
#9B338E #C348B4 #D276C7 #E1A4DA #F0D2ED

Accessibility & contrast

On white

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

On black

7.16
#D276C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D276C7
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D276C7#FFFFFF#000000##000000
##D276C71.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#738FCA
Deuteranopia (green-blind)
#8C9BC4
Tritanopia (blue-blind)
#D97C95
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d276c7;
/* rgb */ color: rgb(210, 118, 199);
/* oklch */ color: oklch(69.4% 0.153 331.6);
Tailwind
colors: {
  custom: {
    50: '#e1a0d8',
    500: '#d276c7',
    950: '#000000',
  },
}
SCSS
$custom: #d276c7;
$custom-light: #e1a0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d276c7",
  "rgb": {
    "r": 210,
    "g": 118,
    "b": 199
  },
  "hsl": {
    "h": 307.174,
    "s": 50.549,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69441,
    "c": 0.1528,
    "h": 331.6
  },
  "luminance": 0.30782
}

Semantic roles & 50–950 ramp

primary
#D276C7
secondary
#C2E2C6
accent
#BE3A28
background
#FEFAFD
surface
#FCF3FA
border
#D5CDD3
text
#160F14
muted
#847F83

Preview Lab

Preview with #D276C7

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

Preview Lab → · Contrast checker → · Palette generator →

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