#D276FB#D276FB

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

Color values

HEX#D276FB
RGBrgb(210, 118, 251)
HSLhsl(282, 94%, 72%)
HSVhsv(282, 53%, 98%)
CMYKcmyk(16.3%, 53%, 0%, 1.6%)
CIE-LABlab(64.66, 57.19, -52.09)
CIE-LCHlch(64.66, 77.36, 317.67°)
OKLaboklab(71.94% 0.1422 -0.1454)
OKLCHoklch(71.94% 0.203 314.4)
XYZxyz(50.4665, 33.6250, 95.0799)
Luminance0.3362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D276FB #9FFB76
analogous
#9076FB #D276FB #FB76E1
triadic
#D276FB #FBD276 #76FBD2
tetradic
#D276FB #FB9076 #9FFB76 #76E1FB
square
#D276FB #FB9076 #9FFB76 #76E1FB
split-complementary
#D276FB #E1FB76 #76FB90
monochromatic
#A807F0 #BE3BF9 #D276FB #E6B1FD #F5E1FE

Accessibility & contrast

On white

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

On black

7.72
#D276FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D276FB
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D276FB#FFFFFF#000000##000000
##D276FB1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d276fb;
/* rgb */ color: rgb(210, 118, 251);
/* oklch */ color: oklch(71.9% 0.203 314.4);
Tailwind
colors: {
  custom: {
    50: '#e2a1fd',
    500: '#d276fb',
    950: '#000000',
  },
}
SCSS
$custom: #d276fb;
$custom-light: #e2a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d276fb",
  "rgb": {
    "r": 210,
    "g": 118,
    "b": 251
  },
  "hsl": {
    "h": 281.504,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7194,
    "c": 0.2034,
    "h": 314.4
  },
  "luminance": 0.33624
}

Semantic roles & 50–950 ramp

primary
#D276FB
secondary
#DFF6D5
accent
#E60047
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D276FB

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

Preview Lab → · Contrast checker → · Palette generator →

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