#D276EB#D276EB

#D276EB is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.1% C 0.187 H 318.7°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#D276EB
RGBrgb(210, 118, 235)
HSLhsl(287, 75%, 69%)
HSVhsv(287, 50%, 92%)
CMYKcmyk(10.6%, 49.8%, 0%, 7.8%)
CIE-LABlab(63.88, 53.99, -44.49)
CIE-LCHlch(63.88, 69.96, 320.51°)
OKLaboklab(71.11% 0.1406 -0.1234)
OKLCHoklch(71.11% 0.187 318.7)
XYZxyz(48.0502, 32.6584, 82.3538)
Luminance0.3266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D276EB #8FEB76
analogous
#9876EB #D276EB #EB76CA
triadic
#D276EB #EBD276 #76EBD2
tetradic
#D276EB #EB9876 #8FEB76 #76CAEB
square
#D276EB #EB9876 #8FEB76 #76CAEB
split-complementary
#D276EB #CAEB76 #76EB98
monochromatic
#A51DC9 #C041E3 #D276EB #E4ABF3 #F5E1FB

Accessibility & contrast

On white

2.79
#D276EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#D276EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D276EB
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D276EB#FFFFFF#000000##000000
##D276EB1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195EF
Deuteranopia (green-blind)
#7C9EE8
Tritanopia (blue-blind)
#D287A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d276eb;
/* rgb */ color: rgb(210, 118, 235);
/* oklch */ color: oklch(71.1% 0.187 318.7);
Tailwind
colors: {
  custom: {
    50: '#e2a0f2',
    500: '#d276eb',
    950: '#000000',
  },
}
SCSS
$custom: #d276eb;
$custom-light: #e2a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d276eb",
  "rgb": {
    "r": 210,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 287.179,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.7111,
    "c": 0.18709,
    "h": 318.7
  },
  "luminance": 0.32657
}

Semantic roles & 50–950 ramp

primary
#D276EB
secondary
#D5EFCD
accent
#D70F3A
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D276EB

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

Preview Lab → · Contrast checker → · Palette generator →

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