#D276F7#D276F7

#D276F7 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.7% C 0.199 H 315.4°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#D276F7
RGBrgb(210, 118, 247)
HSLhsl(283, 89%, 72%)
HSVhsv(283, 52%, 97%)
CMYKcmyk(15%, 52.2%, 0%, 3.1%)
CIE-LABlab(64.46, 56.38, -50.21)
CIE-LCHlch(64.46, 75.49, 318.31°)
OKLaboklab(71.73% 0.1419 -0.1399)
OKLCHoklch(71.73% 0.199 315.4)
XYZxyz(49.8427, 33.3754, 91.7942)
Luminance0.3337 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D276F7 #9BF776
analogous
#9276F7 #D276F7 #F776DC
triadic
#D276F7 #F7D276 #76F7D2
tetradic
#D276F7 #F79276 #9BF776 #76DCF7
square
#D276F7 #F79276 #9BF776 #76DCF7
split-complementary
#D276F7 #DCF776 #76F792
monochromatic
#A70DE5 #BF3CF4 #D276F7 #E5B0FA #F6E2FD

Accessibility & contrast

On white

2.74
#D276F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#D276F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D276F7
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D276F7#FFFFFF#000000##000000
##D276F71.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FB
Deuteranopia (green-blind)
#769FF4
Tritanopia (blue-blind)
#D08AAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d276f7;
/* rgb */ color: rgb(210, 118, 247);
/* oklch */ color: oklch(71.7% 0.199 315.4);
Tailwind
colors: {
  custom: {
    50: '#e2a1fa',
    500: '#d276f7',
    950: '#000000',
  },
}
SCSS
$custom: #d276f7;
$custom-light: #e2a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d276f7",
  "rgb": {
    "r": 210,
    "g": 118,
    "b": 247
  },
  "hsl": {
    "h": 282.791,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71727,
    "c": 0.1993,
    "h": 315.4
  },
  "luminance": 0.33374
}

Semantic roles & 50–950 ramp

primary
#D276F7
secondary
#DDF5D4
accent
#E60042
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D276F7

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

Preview Lab → · Contrast checker → · Palette generator →

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