#D276CD#D276CD

#D276CD is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.7% C 0.158 H 329.1°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#D276CD
RGBrgb(210, 118, 205)
HSLhsl(303, 51%, 64%)
HSVhsv(303, 44%, 82%)
CMYKcmyk(0%, 43.8%, 2.4%, 17.6%)
CIE-LABlab(62.57, 48.37, -29.80)
CIE-LCHlch(62.57, 56.81, 328.37°)
OKLaboklab(69.7% 0.1357 -0.0812)
OKLCHoklch(69.7% 0.158 329.1)
XYZxyz(44.0756, 31.0686, 61.4210)
Luminance0.3107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D276CD #76D27B
analogous
#A976D2 #D276CD #D2769F
triadic
#D276CD #CDD276 #76CDD2
tetradic
#D276CD #D2A976 #76D27B #769FD2
square
#D276CD #D2A976 #76D27B #769FD2
split-complementary
#D276CD #9FD276 #76D2A9
monochromatic
#9B3395 #C348BC #D276CD #E1A4DE #F0D2EF

Accessibility & contrast

On white

2.91
#D276CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#D276CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D276CD
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D276CD#FFFFFF#000000##000000
##D276CD1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7190D0
Deuteranopia (green-blind)
#8A9CCA
Tritanopia (blue-blind)
#D87E98
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d276cd;
/* rgb */ color: rgb(210, 118, 205);
/* oklch */ color: oklch(69.7% 0.158 329.1);
Tailwind
colors: {
  custom: {
    50: '#e1a0dc',
    500: '#d276cd',
    950: '#000000',
  },
}
SCSS
$custom: #d276cd;
$custom-light: #e1a0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d276cd",
  "rgb": {
    "r": 210,
    "g": 118,
    "b": 205
  },
  "hsl": {
    "h": 303.261,
    "s": 50.549,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69699,
    "c": 0.15816,
    "h": 329.1
  },
  "luminance": 0.31066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D276CD

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

Preview Lab → · Contrast checker → · Palette generator →

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