#D276EF#D276EF

#D276EF is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.3% C 0.191 H 317.6°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#D276EF
RGBrgb(210, 118, 239)
HSLhsl(286, 79%, 70%)
HSVhsv(286, 51%, 94%)
CMYKcmyk(12.1%, 50.6%, 0%, 6.3%)
CIE-LABlab(64.07, 54.77, -46.41)
CIE-LCHlch(64.07, 71.79, 319.73°)
OKLaboklab(71.31% 0.1411 -0.1289)
OKLCHoklch(71.31% 0.191 317.6)
XYZxyz(48.6346, 32.8922, 85.4315)
Luminance0.3289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D276EF #93EF76
analogous
#9676EF #D276EF #EF76CF
triadic
#D276EF #EFD276 #76EFD2
tetradic
#D276EF #EF9676 #93EF76 #76CFEF
square
#D276EF #EF9676 #93EF76 #76CFEF
split-complementary
#D276EF #CFEF76 #76EF96
monochromatic
#A619D2 #C03FE9 #D276EF #E4ADF5 #F6E4FC

Accessibility & contrast

On white

2.77
#D276EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#D276EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D276EF
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D276EF#FFFFFF#000000##000000
##D276EF1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F3
Deuteranopia (green-blind)
#7A9EEC
Tritanopia (blue-blind)
#D188A8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d276ef;
/* rgb */ color: rgb(210, 118, 239);
/* oklch */ color: oklch(71.3% 0.191 317.6);
Tailwind
colors: {
  custom: {
    50: '#e2a0f5',
    500: '#d276ef',
    950: '#000000',
  },
}
SCSS
$custom: #d276ef;
$custom-light: #e2a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d276ef",
  "rgb": {
    "r": 210,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 285.62,
    "s": 79.085,
    "l": 70
  },
  "oklch": {
    "l": 0.71312,
    "c": 0.19113,
    "h": 317.6
  },
  "luminance": 0.3289
}

Semantic roles & 50–950 ramp

primary
#D276EF
secondary
#D8F1CF
accent
#DB0A3C
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D276EF

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

Preview Lab → · Contrast checker → · Palette generator →

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