#D276EC#D276EC
#D276EC is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.2% C 0.188 H 318.4°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #D276EC |
|---|---|
| RGB | rgb(210, 118, 236) |
| HSL | hsl(287, 76%, 69%) |
| HSV | hsv(287, 50%, 93%) |
| CMYK | cmyk(11%, 50%, 0%, 7.5%) |
| CIE-LAB | lab(63.93, 54.18, -44.97) |
| CIE-LCH | lch(63.93, 70.42, 320.31°) |
| OKLab | oklab(71.16% 0.1408 -0.1248) |
| OKLCH | oklch(71.16% 0.188 318.4) |
| XYZ | xyz(48.1951, 32.7164, 83.1168) |
| Luminance | 0.3271 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.43
Orchid
#DA70D6
ΔE00 4.62
Easter Purple
#C071FE
ΔE00 5.32
Purply Pink
#F075E6
ΔE00 5.87
Violet (CSS)
#EE82EE
ΔE00 5.97
Bright Lilac
#C95EFB
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D276EC #90EC76
analogous
#9776EC #D276EC #EC76CB
triadic
#D276EC #ECD276 #76ECD2
tetradic
#D276EC #EC9776 #90EC76 #76CBEC
square
#D276EC #EC9776 #90EC76 #76CBEC
split-complementary
#D276EC #CBEC76 #76EC97
monochromatic
#A51CCB #C040E5 #D276EC #E4ACF3 #F5E1FB
Accessibility & contrast
On white
2.78
#D276EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.54
#D276EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D276EC
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D276EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D276EC | 1.00 | 2.78 | 7.54 | 7.54 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6095F0
Deuteranopia (green-blind)
#7C9EE9
Tritanopia (blue-blind)
#D287A6
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #d276ec; /* rgb */ color: rgb(210, 118, 236); /* oklch */ color: oklch(71.2% 0.188 318.4);
Tailwind
colors: {
custom: {
50: '#e2a0f2',
500: '#d276ec',
950: '#000000',
},
}SCSS
$custom: #d276ec; $custom-light: #e2a0f2; $custom-dark: #000000;
JSON
{
"hex": "#d276ec",
"rgb": {
"r": 210,
"g": 118,
"b": 236
},
"hsl": {
"h": 286.78,
"s": 75.641,
"l": 69.412
},
"oklch": {
"l": 0.7116,
"c": 0.1881,
"h": 318.4
},
"luminance": 0.32715
}Semantic roles & 50–950 ramp
primary
#D276EC
secondary
#D5F0CE
accent
#D80E3A
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85