#F276FC#F276FC
#F276FC is a light, highly saturated purple. Relative luminance 0.389; OKLCH L 75.7% C 0.219 H 324.6°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #F276FC |
|---|---|
| RGB | rgb(242, 118, 252) |
| HSL | hsl(296, 96%, 73%) |
| HSV | hsv(296, 53%, 99%) |
| CMYK | cmyk(4%, 53.2%, 0%, 1.2%) |
| CIE-LAB | lab(68.65, 65.61, -46.08) |
| CIE-LCH | lch(68.65, 80.18, 324.92°) |
| OKLab | oklab(75.73% 0.1788 -0.1272) |
| OKLCH | oklch(75.73% 0.219 324.6) |
| XYZ | xyz(60.6656, 38.8656, 96.3829) |
| Luminance | 0.3886 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.29
Violet Pink
#FB5FFC
ΔE00 3.39
Purply Pink
#F075E6
ΔE00 3.48
Light Magenta
#FA5FF7
ΔE00 3.53
Candy Pink
#FF63E9
ΔE00 4.58
Orchid
#DA70D6
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F276FC #80FC76
analogous
#AF76FC #F276FC #FC76C3
triadic
#F276FC #FCF276 #76FCF2
tetradic
#F276FC #FCAF76 #80FC76 #76C3FC
square
#F276FC #FCAF76 #80FC76 #76C3FC
split-complementary
#F276FC #C3FC76 #76FCAF
monochromatic
#E105F2 #EC3AFB #F276FC #F8B2FD #FCE1FE
Accessibility & contrast
On white
2.39
#F276FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.77
#F276FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F276FC
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F276FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F276FC | 1.00 | 2.39 | 8.77 | 8.77 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#8BADF8
Tritanopia (blue-blind)
#F787AE
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #f276fc; /* rgb */ color: rgb(242, 118, 252); /* oklch */ color: oklch(75.7% 0.219 324.6);
Tailwind
colors: {
custom: {
50: '#f9a3fe',
500: '#f276fc',
950: '#000000',
},
}SCSS
$custom: #f276fc; $custom-light: #f9a3fe; $custom-dark: #000000;
JSON
{
"hex": "#f276fc",
"rgb": {
"r": 242,
"g": 118,
"b": 252
},
"hsl": {
"h": 295.522,
"s": 95.714,
"l": 72.549
},
"oklch": {
"l": 0.75726,
"c": 0.21944,
"h": 324.6
},
"luminance": 0.38862
}Semantic roles & 50–950 ramp
primary
#F276FC
secondary
#D7F7D4
accent
#E60011
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F18
muted
#867F86