#D276FC#D276FC

#D276FC is a light, highly saturated purple. Relative luminance 0.337; OKLCH L 72.0% C 0.204 H 314.1°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#D276FC
RGBrgb(210, 118, 252)
HSLhsl(281, 96%, 73%)
HSVhsv(281, 53%, 99%)
CMYKcmyk(16.7%, 53.2%, 0%, 1.2%)
CIE-LABlab(64.71, 57.39, -52.56)
CIE-LCHlch(64.71, 77.82, 317.52°)
OKLaboklab(71.99% 0.1423 -0.1468)
OKLCHoklch(71.99% 0.204 314.1)
XYZxyz(50.6246, 33.6882, 95.9123)
Luminance0.3369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D276FC #A0FC76
analogous
#8F76FC #D276FC #FC76E3
triadic
#D276FC #FCD276 #76FCD2
tetradic
#D276FC #FC8F76 #A0FC76 #76E3FC
square
#D276FC #FC8F76 #A0FC76 #76E3FC
split-complementary
#D276FC #E3FC76 #76FC8F
monochromatic
#A805F2 #BE3AFB #D276FC #E6B2FD #F5E1FE

Accessibility & contrast

On white

2.71
#D276FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#D276FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D276FC
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D276FC#FFFFFF#000000##000000
##D276FC1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5498FF
Deuteranopia (green-blind)
#739FF9
Tritanopia (blue-blind)
#CF8CAE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d276fc;
/* rgb */ color: rgb(210, 118, 252);
/* oklch */ color: oklch(72.0% 0.204 314.1);
Tailwind
colors: {
  custom: {
    50: '#e2a1fe',
    500: '#d276fc',
    950: '#000000',
  },
}
SCSS
$custom: #d276fc;
$custom-light: #e2a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d276fc",
  "rgb": {
    "r": 210,
    "g": 118,
    "b": 252
  },
  "hsl": {
    "h": 281.194,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71993,
    "c": 0.20444,
    "h": 314.1
  },
  "luminance": 0.33687
}

Semantic roles & 50–950 ramp

primary
#D276FC
secondary
#DFF7D4
accent
#E60048
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D276FC

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

Preview Lab → · Contrast checker → · Palette generator →

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