#D276ED#D276ED

#D276ED is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.2% C 0.189 H 318.2°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#D276ED
RGBrgb(210, 118, 237)
HSLhsl(286, 77%, 70%)
HSVhsv(286, 50%, 93%)
CMYKcmyk(11.4%, 50.2%, 0%, 7.1%)
CIE-LABlab(63.98, 54.38, -45.45)
CIE-LCHlch(63.98, 70.87, 320.11°)
OKLaboklab(71.21% 0.1409 -0.1262)
OKLCHoklch(71.21% 0.189 318.2)
XYZxyz(48.3407, 32.7746, 83.8841)
Luminance0.3277 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D276ED #91ED76
analogous
#9776ED #D276ED #ED76CC
triadic
#D276ED #EDD276 #76EDD2
tetradic
#D276ED #ED9776 #91ED76 #76CCED
square
#D276ED #ED9776 #91ED76 #76CCED
split-complementary
#D276ED #CCED76 #76ED97
monochromatic
#A51BCE #C040E6 #D276ED #E4ACF4 #F6E2FB

Accessibility & contrast

On white

2.78
#D276ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#D276ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D276ED
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D276ED#FFFFFF#000000##000000
##D276ED1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F95F1
Deuteranopia (green-blind)
#7B9EEA
Tritanopia (blue-blind)
#D287A7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d276ed;
/* rgb */ color: rgb(210, 118, 237);
/* oklch */ color: oklch(71.2% 0.189 318.2);
Tailwind
colors: {
  custom: {
    50: '#e2a0f3',
    500: '#d276ed',
    950: '#000000',
  },
}
SCSS
$custom: #d276ed;
$custom-light: #e2a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d276ed",
  "rgb": {
    "r": 210,
    "g": 118,
    "b": 237
  },
  "hsl": {
    "h": 286.387,
    "s": 76.774,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71211,
    "c": 0.1891,
    "h": 318.2
  },
  "luminance": 0.32773
}

Semantic roles & 50–950 ramp

primary
#D276ED
secondary
#D6F0CE
accent
#D90D3B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D276ED

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

Preview Lab → · Contrast checker → · Palette generator →

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