#D276DB#D276DB

#D276DB is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.3% C 0.171 H 323.9°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#D276DB
RGBrgb(210, 118, 219)
HSLhsl(295, 58%, 66%)
HSVhsv(295, 46%, 86%)
CMYKcmyk(4.1%, 46.1%, 0%, 14.1%)
CIE-LABlab(63.16, 50.92, -36.73)
CIE-LCHlch(63.16, 62.78, 324.20°)
OKLaboklab(70.33% 0.1383 -0.101)
OKLCHoklch(70.33% 0.171 323.9)
XYZxyz(45.8417, 31.7750, 70.7226)
Luminance0.3177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D276DB #7FDB76
analogous
#9F76DB #D276DB #DB76B1
triadic
#D276DB #DBD276 #76DBD2
tetradic
#D276DB #DB9F76 #7FDB76 #76B1DB
square
#D276DB #DB9F76 #7FDB76 #76B1DB
split-complementary
#D276DB #B1DB76 #76DB9F
monochromatic
#9F2DAA #C246CE #D276DB #E2A6E8 #F2D7F4

Accessibility & contrast

On white

2.86
#D276DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#D276DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D276DB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D276DB#FFFFFF#000000##000000
##D276DB1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A92DE
Deuteranopia (green-blind)
#849DD8
Tritanopia (blue-blind)
#D5829E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d276db;
/* rgb */ color: rgb(210, 118, 219);
/* oklch */ color: oklch(70.3% 0.171 323.9);
Tailwind
colors: {
  custom: {
    50: '#e2a0e6',
    500: '#d276db',
    950: '#000000',
  },
}
SCSS
$custom: #d276db;
$custom-light: #e2a0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d276db",
  "rgb": {
    "r": 210,
    "g": 118,
    "b": 219
  },
  "hsl": {
    "h": 294.653,
    "s": 58.382,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70333,
    "c": 0.17128,
    "h": 323.9
  },
  "luminance": 0.31773
}

Semantic roles & 50–950 ramp

primary
#D276DB
secondary
#C9E7C6
accent
#C6202E
background
#FEFAFE
surface
#FCF3FC
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D276DB

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

Preview Lab → · Contrast checker → · Palette generator →

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