#D276F8#D276F8

#D276F8 is a light, highly saturated purple. Relative luminance 0.334; OKLCH L 71.8% C 0.200 H 315.1°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#D276F8
RGBrgb(210, 118, 248)
HSLhsl(282, 90%, 72%)
HSVhsv(282, 52%, 97%)
CMYKcmyk(15.3%, 52.4%, 0%, 2.7%)
CIE-LABlab(64.51, 56.58, -50.68)
CIE-LCHlch(64.51, 75.96, 318.15°)
OKLaboklab(71.78% 0.142 -0.1413)
OKLCHoklch(71.78% 0.2 315.1)
XYZxyz(49.9974, 33.4373, 92.6091)
Luminance0.3344 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D276F8 #9CF876
analogous
#9176F8 #D276F8 #F876DD
triadic
#D276F8 #F8D276 #76F8D2
tetradic
#D276F8 #F89176 #9CF876 #76DDF8
square
#D276F8 #F89176 #9CF876 #76DDF8
split-complementary
#D276F8 #DDF876 #76F891
monochromatic
#A70CE8 #BF3CF5 #D276F8 #E5B0FB #F5E2FE

Accessibility & contrast

On white

2.73
#D276F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#D276F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D276F8
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D276F8#FFFFFF#000000##000000
##D276F81.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FC
Deuteranopia (green-blind)
#759FF5
Tritanopia (blue-blind)
#D08BAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d276f8;
/* rgb */ color: rgb(210, 118, 248);
/* oklch */ color: oklch(71.8% 0.200 315.1);
Tailwind
colors: {
  custom: {
    50: '#e2a1fb',
    500: '#d276f8',
    950: '#000000',
  },
}
SCSS
$custom: #d276f8;
$custom-light: #e2a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d276f8",
  "rgb": {
    "r": 210,
    "g": 118,
    "b": 248
  },
  "hsl": {
    "h": 282.462,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7178,
    "c": 0.20032,
    "h": 315.1
  },
  "luminance": 0.33436
}

Semantic roles & 50–950 ramp

primary
#D276F8
secondary
#DEF5D4
accent
#E60043
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D276F8

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

Preview Lab → · Contrast checker → · Palette generator →

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