#D276FA#D276FA

#D276FA is a light, highly saturated purple. Relative luminance 0.336; OKLCH L 71.9% C 0.202 H 314.6°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#D276FA
RGBrgb(210, 118, 250)
HSLhsl(282, 93%, 72%)
HSVhsv(282, 53%, 98%)
CMYKcmyk(16%, 52.8%, 0%, 2%)
CIE-LABlab(64.61, 56.99, -51.62)
CIE-LCHlch(64.61, 76.89, 317.83°)
OKLaboklab(71.89% 0.1421 -0.1441)
OKLCHoklch(71.89% 0.202 314.6)
XYZxyz(50.3093, 33.5621, 94.2519)
Luminance0.3356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D276FA #9EFA76
analogous
#9076FA #D276FA #FA76E0
triadic
#D276FA #FAD276 #76FAD2
tetradic
#D276FA #FA9076 #9EFA76 #76E0FA
square
#D276FA #FA9076 #9EFA76 #76E0FA
split-complementary
#D276FA #E0FA76 #76FA90
monochromatic
#A809ED #BF3BF8 #D276FA #E5B1FC #F5E1FE

Accessibility & contrast

On white

2.72
#D276FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#D276FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D276FA
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D276FA#FFFFFF#000000##000000
##D276FA1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FE
Deuteranopia (green-blind)
#749FF7
Tritanopia (blue-blind)
#CF8BAD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d276fa;
/* rgb */ color: rgb(210, 118, 250);
/* oklch */ color: oklch(71.9% 0.202 314.6);
Tailwind
colors: {
  custom: {
    50: '#e2a1fc',
    500: '#d276fa',
    950: '#000000',
  },
}
SCSS
$custom: #d276fa;
$custom-light: #e2a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d276fa",
  "rgb": {
    "r": 210,
    "g": 118,
    "b": 250
  },
  "hsl": {
    "h": 281.818,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71886,
    "c": 0.20238,
    "h": 314.6
  },
  "luminance": 0.33561
}

Semantic roles & 50–950 ramp

primary
#D276FA
secondary
#DFF6D5
accent
#E60046
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D276FA

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

Preview Lab → · Contrast checker → · Palette generator →

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